X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fyazpp%2Ftimestat.h;h=2cf0588fb33a9f0f48d9e56d507a182947e4a783;hb=HEAD;hp=770ee4a1d5cab56dbc2ea456ddec40536f22e991;hpb=1a5ef336a2700bc8399f43a473ffc49bd81f37c8;p=yazpp-moved-to-github.git diff --git a/include/yazpp/timestat.h b/include/yazpp/timestat.h index 770ee4a..2cf0588 100644 --- a/include/yazpp/timestat.h +++ b/include/yazpp/timestat.h @@ -1,5 +1,5 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2009 Index Data and Mike Taylor + * Copyright (C) Index Data * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -29,7 +29,6 @@ #ifndef YAZPP_TIMESTAT_H #define YAZPP_TIMESTAT_H -#include #include namespace yazpp_1 { @@ -40,10 +39,8 @@ namespace yazpp_1 { 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; }; }