Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
stat.h File Reference
#include "types.h"

Go to the source code of this file.

Data Structures

struct  stats
 

Functions

void update_stats (struct stats *stats, u64 val)
 
double avg_stats (struct stats *stats)
 
double stddev_stats (struct stats *stats)
 
double rel_stddev_stats (double stddev, double avg)
 

Function Documentation

double avg_stats ( struct stats stats)

Definition at line 15 of file stat.c.

double rel_stddev_stats ( double  stddev,
double  avg 
)

Definition at line 49 of file stat.c.

double stddev_stats ( struct stats stats)

Definition at line 36 of file stat.c.

void update_stats ( struct stats stats,
u64  val 
)

Definition at line 5 of file stat.c.