X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Finclude%2Flttv%2Fstats.h;h=ad941ad338d259ee228e94e2a7beaf36b47a68aa;hb=efde9138bd61f0ce9cabb3f2dcc0d0040eaf35ed;hp=87130b0f21b005a86fc699cd225d3cd9e6b2549c;hpb=b445142a71748192520cfd645b4963e23070a486;p=lttv.git diff --git a/ltt/branches/poly/include/lttv/stats.h b/ltt/branches/poly/include/lttv/stats.h index 87130b0f..ad941ad3 100644 --- a/ltt/branches/poly/include/lttv/stats.h +++ b/ltt/branches/poly/include/lttv/stats.h @@ -1,3 +1,21 @@ +/* This file is part of the Linux Trace Toolkit viewer + * Copyright (C) 2003-2004 Michel Dagenais + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License Version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, + * MA 02111-1307, USA. + */ + #ifndef STATS_H #define STATS_H @@ -132,6 +150,10 @@ gboolean lttv_stats_add_event_hooks(LttvTracesetStats *self); gboolean lttv_stats_remove_event_hooks(LttvTracesetStats *self); +void lttv_stats_save_statistics(LttvTracesetStats *self); + +gboolean lttv_stats_load_statistics(LttvTracesetStats *self); + /* The LttvTracesetStats, LttvTraceStats and LttvTracefileStats types inherit from the corresponding State objects defined in state.h.. */