Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[0d0e60]: daemon / liblegacy / opd_24_stats.h Maximize Restore History

Download this file

opd_24_stats.h    40 lines (34 with data), 1.4 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
* @file opd_24_stats.h
* Management of daemon statistics
*
* @remark Copyright 2002 OProfile authors
* @remark Read the file COPYING
*
* @author John Levon
* @author Philippe Elie
*/
#ifndef OPD_24_STATS_H
#define OPD_24_STATS_H
extern unsigned long opd_24_stats[];
enum { OPD_KERNEL, /**< nr kernel samples */
OPD_MODULE, /**< nr module samples */
OPD_LOST_MODULE, /**< nr samples in module for which modules can not be located */
OPD_LOST_PROCESS, /**< nr samples for which process info couldn't be accessed */
OPD_PROCESS, /**< nr userspace samples */
OPD_LOST_MAP_PROCESS, /**< nr samples for which map info couldn't be accessed */
OPD_LOST_SAMPLEFILE, /**< nr samples for which sample file can't be opened */
OPD_PROC_QUEUE_ACCESS, /**< nr accesses of proc queue */
OPD_PROC_QUEUE_DEPTH, /**< cumulative depth of proc queue accesses */
OPD_DUMP_COUNT, /**< nr of times buffer is read */
OPD_MAP_ARRAY_ACCESS, /**< nr accesses of map array */
OPD_MAP_ARRAY_DEPTH, /**< cumulative depth of map array accesses */
OPD_IMAGE_HASH_ACCESS, /**< nr opd_find_image() */
OPD_IMAGE_HASH_DEPTH, /**< cumulative depth of image search */
OPD_SAMPLES, /**< nr distinct samples */
OPD_NOTIFICATIONS, /**< nr notifications */
OPD_MAX_STATS /**< end of stats */
};
/** opd_print_24_stats - print out latest statistics */
void opd_print_24_stats(void);
#endif /* OPD_24_STATS_H */