230337ed4ff1606363e1f0c24490edcf95c9c4ad
1 /* This file is part of the Linux Trace Toolkit viewer
2 * Copyright (C) 2003-2004 Michel Dagenais
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License Version 2 as
6 * published by the Free Software Foundation;
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
23 #include <lttv/state.h>
24 #include <lttv/stats.h>
26 // Hook wrapper. call_data is a trace context.
27 gboolean
lttv_xenoltt_sim_hook_add_event_hooks(void *hook_data
, void *call_data
);
28 void lttv_xenoltt_sim_add_event_hooks(LttvTracesetStats
*self
);
30 // Hook wrapper. call_data is a trace context.
31 gboolean
lttv_xenoltt_sim_hook_remove_event_hooks(void *hook_data
, void *call_data
);
32 void lttv_xenoltt_sim_remove_event_hooks(LttvTracesetStats
*self
);
35 typedef struct _ThreadEventData
{
39 LttTime creation_time
;
42 GArray
* new_event_list
;
46 typedef struct _EventData
{
53 typedef struct _RunningThread
{
54 ThreadEventData
* thread
;
59 static GArray
*thread_event_list
;
60 static GArray
*running_thread
;
62 void compute_simulation(guint index
,guint period
,FILE *a_file
);
64 GArray
* get_thread_list();
66 #endif // XENOLTT_SIM_H
This page took 0.031092 seconds and 3 git commands to generate.