To access to the existing default performance estimation routines (as described in Chapter 10), the following functions are available to facilitate the construction of custom performance estimation functions:
int diet_estimate_lastexec(estVector_t ev,
const diet_profile_t* const profilePtr);
with an appropriate value for ev and the profilePtr
corresponding to the current DIET request.
int diet_estimate_waiting_jobs(estVector_t ev);
In the future, we plan to expand the suite of default estimation metrics to include dynamic internal DIET system state information (e.g., queue lengths).