From e43e3c44e9dee571c11a0fed16c27dff177d8c38 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 13 Dec 2011 22:21:24 +0100 Subject: Do event counting when rawcallback is used to stream the data --- pcitool/formaters.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pcitool/formaters.h (limited to 'pcitool/formaters.h') diff --git a/pcitool/formaters.h b/pcitool/formaters.h new file mode 100644 index 0000000..c854da5 --- /dev/null +++ b/pcitool/formaters.h @@ -0,0 +1,12 @@ +#ifndef _PCITOOL_FORMATERS_H +#define _PCITOOL_FORMATERS_H + +void PrintTime(size_t duration); +void PrintNumber(size_t num); +void PrintSize(size_t num); +void PrintPercent(size_t num, size_t total); +char *GetPrintSize(char *str, size_t size); + + +#endif /* _PCITOOL_FORMATERS_H */ + -- cgit v1.2.3