#endif /* SPROFILE */
-#if CPROFILE
-
#include <sys/types.h>
# define PROF_GET 2 /* get call profiling tables */
u64_t cycles; /* execution time of path, in cycles */
} cprof_tbl_inst;
-#endif /* CPROFILE */
-
_PROTOTYPE( int sprofile, (int action, int size, int freq,
void *ctl_ptr, void *mem_ptr) );
unsigned long lock_timings[TIMING_POINTS];
unsigned long lock_timings_range[2];
unsigned long binsize, resets, misses, measurements;
+ unsigned long starttimes[2]; /* nonzero if running */
};
-typedef struct util_timingdata util_timingdata_t[TIMING_CATEGORIES];
+typedef struct util_timingdata util_timingdata_t;
#endif /* _MINIX_SYSUTIL_H */