Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
tools
perf
util
stat.h
Go to the documentation of this file.
1
#ifndef __PERF_STATS_H
2
#define __PERF_STATS_H
3
4
#include "
types.h
"
5
6
struct
stats
7
{
8
double
n
,
mean
,
M2
;
9
};
10
11
void
update_stats
(
struct
stats
*
stats
,
u64
val
);
12
double
avg_stats
(
struct
stats
*
stats
);
13
double
stddev_stats
(
struct
stats
*
stats
);
14
double
rel_stddev_stats
(
double
stddev,
double
avg
);
15
16
#endif
Generated on Thu Jan 10 2013 12:50:36 for Linux Kernel by
1.8.2