nexmon – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /* service_response_time.c |
2 | * Copied from ui/gtk/service_response_time_table.h, 2003 Ronnie Sahlberg |
||
3 | * Helper routines and structs common to all service response time statistics |
||
4 | * taps. |
||
5 | * |
||
6 | * Wireshark - Network traffic analyzer |
||
7 | * By Gerald Combs <gerald@wireshark.org> |
||
8 | * Copyright 1998 Gerald Combs |
||
9 | * |
||
10 | * This program is free software; you can redistribute it and/or |
||
11 | * modify it under the terms of the GNU General Public License |
||
12 | * as published by the Free Software Foundation; either version 2 |
||
13 | * of the License, or (at your option) any later version. |
||
14 | * |
||
15 | * This program is distributed in the hope that it will be useful, |
||
16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
18 | * GNU General Public License for more details. |
||
19 | * |
||
20 | * You should have received a copy of the GNU General Public License |
||
21 | * along with this program; if not, write to the Free Software |
||
22 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
||
23 | */ |
||
24 | |||
25 | #include "service_response_time.h" |
||
26 | |||
27 | extern const char* |
||
28 | service_response_time_get_column_name (int idx) |
||
29 | { |
||
30 | static const char *default_titles[] = { "Index", "Procedure", "Calls", "Min SRT (s)", "Max SRT (s)", "Avg SRT (s)", "Sum SRT (s)" }; |
||
31 | |||
32 | if (idx < 0 || idx >= NUM_SRT_COLUMNS) return "(Unknown)"; |
||
33 | return default_titles[idx]; |
||
34 | } |
||
35 | |||
36 | /* |
||
37 | * Editor modelines |
||
38 | * |
||
39 | * Local Variables: |
||
40 | * c-basic-offset: 4 |
||
41 | * tab-width: 8 |
||
42 | * indent-tabs-mode: nil |
||
43 | * End: |
||
44 | * |
||
45 | * ex: set shiftwidth=4 tabstop=8 expandtab: |
||
46 | * :indentSize=4:tabSize=8:noTabs=true: |
||
47 | */ |