22 lines
462 B
C
22 lines
462 B
C
//---
|
|
// gintctl:prof-contexts - All contexts under which profiling is used
|
|
//---
|
|
|
|
#ifndef GINTCTL_PROF_CONTEXTS
|
|
#define GINTCTL_PROF_CONTEXTS
|
|
|
|
/* libprof requires its user to declare the number of execution contexts that
|
|
are being profiled. The number and IDs is maintained here */
|
|
|
|
enum {
|
|
PROFCTX_BASICS = 0,
|
|
PROFCTX_EMPTY,
|
|
PROFCTX_RENDER,
|
|
PROFCTX_INTSTRESS,
|
|
|
|
/* Last element and bound checker */
|
|
PROFCTX_COUNT,
|
|
};
|
|
|
|
#endif /* GINTCTL_PROF_CONTEXTS */
|