comparison _lxcstats.h @ 3:2cb8a6cbe468

cpuacct: convert per cpu usage from nanoseconds to jiffies
author Louis Opter <louis@dotcloud.com>
date Fri, 31 Dec 2010 20:04:25 +0100
parents 6ce4443e7545
children 50215911acb3
comparison
equal deleted inserted replaced
2:ba9d8601d5f9 3:2cb8a6cbe468
1 #ifndef _LXC_STATS_PRIV_H_ 1 #ifndef _LXC_STATS_PRIV_H_
2 # define _LXC_STATS_PRIV_H_ 2 # define _LXC_STATS_PRIV_H_
3 3
4 # include "compat/compat.h" 4 # include "compat/compat.h"
5 # include "probes/probes.h" 5 # include "probes/probes.h"
6
7 # define NSEC_PER_SEC 1000000000L
6 8
7 struct dirent; 9 struct dirent;
8 10
9 /** 11 /**
10 * Store all informations needed to get statistics from a cgroup 12 * Store all informations needed to get statistics from a cgroup