X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Ftimeval.h;h=517524c6845d45dd7d7c8193b01d0f622cb6f238;hb=87fcbc60f28cde16939b3a9e139bdc67ca831010;hp=904023302560d94a52a495310d2a648e38d6e869;hpb=ff8bb7e76b2cdcbcf88cd2fac663ba517e4a659c;p=sliver-openvswitch.git diff --git a/lib/timeval.h b/lib/timeval.h index 904023302..517524c68 100644 --- a/lib/timeval.h +++ b/lib/timeval.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -60,6 +60,10 @@ int time_poll(struct pollfd *, int n_pollfds, int timeout); long long int timespec_to_msec(const struct timespec *); long long int timeval_to_msec(const struct timeval *); +void xgettimeofday(struct timeval *); + +int get_cpu_usage(void); + #ifdef __cplusplus } #endif