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
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * SPDX-License-Identifier: GPL-2.0-or-later
13 #include "service_response_time.h"
16 service_response_time_get_column_name (int idx
)
18 static const char *default_titles
[] = { "Index", "Procedure", "Calls", "Min SRT (s)", "Max SRT (s)", "Avg SRT (s)", "Sum SRT (s)" };
20 if (idx
< 0 || idx
>= NUM_SRT_COLUMNS
) return "(Unknown)";
21 return default_titles
[idx
];