Commit | Line | Data |
---|---|---|
fd70186d CM |
1 | /* |
2 | * Copyright (C) 2012 Fusion-io | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or | |
5 | * modify it under the terms of the GNU General Public | |
6 | * License v2 as published by the Free Software Foundation. | |
7 | * | |
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. | |
12 | * | |
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, MA 02111-1307 USA | |
16 | */ | |
17 | #ifndef __MPSTAT__ | |
18 | #define __MPSTAT__ | |
19 | ||
20 | int read_mpstat(struct trace *trace, char *trace_name); | |
21 | char *next_mpstat(struct trace *trace); | |
22 | char *first_mpstat(struct trace *trace); | |
23 | int read_mpstat_event(struct trace *trace, double *user, | |
24 | double *sys, double *iowait, double *irq, | |
25 | double *soft); | |
26 | int next_mpstat_line(struct trace *trace); | |
27 | int add_mpstat_gld(int time, double sys, struct graph_line_data *gld); | |
28 | #endif |