projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pimpl TimeStat class
[yazpp-moved-to-github.git]
/
include
/
yazpp
/
timestat.h
diff --git
a/include/yazpp/timestat.h
b/include/yazpp/timestat.h
index
d0da2b1
..
2d86268
100644
(file)
--- a/
include/yazpp/timestat.h
+++ b/
include/yazpp/timestat.h
@@
-29,7
+29,6
@@
#ifndef YAZPP_TIMESTAT_H
#define YAZPP_TIMESTAT_H
#ifndef YAZPP_TIMESTAT_H
#define YAZPP_TIMESTAT_H
-#include <time.h>
#include <yaz/yconfig.h>
namespace yazpp_1 {
#include <yaz/yconfig.h>
namespace yazpp_1 {
@@
-40,10
+39,8
@@
namespace yazpp_1 {
void add_bytes(int m);
int get_total();
private:
void add_bytes(int m);
int get_total();
private:
- time_t m_sec; // time of most recent bucket
- int *m_bucket;
- int m_ptr;
- int m_size;
+ class Rep;
+ Rep *m_p;
};
}
};
}