Mercurial > archived > louis > perso > liblxcstats
comparison _lxcstats.h @ 6:e2b88f50e136
cpuacct: replace strtoll by strtoul and replace sscanf by strsplit + strtoul
author | Louis Opter <louis@dotcloud.com> |
---|---|
date | Sat, 01 Jan 2011 16:18:17 +0100 |
parents | 50215911acb3 |
children | 8339ab15527d |
comparison
equal
deleted
inserted
replaced
5:8d8c49b066d4 | 6:e2b88f50e136 |
---|---|
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 | 6 |
7 # define NSEC_PER_SEC 1000000000L | 7 # define NSEC_PER_SEC 1000000000L |
8 | |
9 # define ARRAY_SIZE(a) (sizeof((a)) / sizeof((a)[0])) | |
8 | 10 |
9 struct dirent; | 11 struct dirent; |
10 | 12 |
11 /** | 13 /** |
12 * Store all informations needed to get statistics from a cgroup | 14 * Store all informations needed to get statistics from a cgroup |