| 1 | /* |
| 2 | * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca> |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License |
| 6 | * as published by the Free Software Foundation; only version 2 |
| 7 | * of the License. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with this program; if not, write to the Free Software |
| 16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 17 | */ |
| 18 | |
| 19 | #ifndef _MEASURES_H |
| 20 | #define _MEASURES_H |
| 21 | |
| 22 | /* Session daemon main() time */ |
| 23 | cycles_t time_sessiond_boot_start; |
| 24 | cycles_t time_sessiond_boot_end; |
| 25 | |
| 26 | /* Session daemon thread manage kconsumerd time */ |
| 27 | cycles_t time_sessiond_th_kcon_start; |
| 28 | cycles_t time_sessiond_th_kcon_poll; |
| 29 | |
| 30 | /* Session daemon thread manage kernel time */ |
| 31 | cycles_t time_sessiond_th_kern_start; |
| 32 | cycles_t time_sessiond_th_kern_poll; |
| 33 | |
| 34 | /* Session daemon thread manage apps time */ |
| 35 | cycles_t time_sessiond_th_apps_start; |
| 36 | cycles_t time_sessiond_th_apps_poll; |
| 37 | |
| 38 | /* Session daemon thread manage client time */ |
| 39 | cycles_t time_sessiond_th_cli_start; |
| 40 | cycles_t time_sessiond_th_cli_poll; |
| 41 | |
| 42 | /* Create tracing session values */ |
| 43 | cycles_t time_create_session_start; |
| 44 | cycles_t time_create_session_end; |
| 45 | |
| 46 | /* Destroy tracing session values */ |
| 47 | cycles_t time_destroy_session_start; |
| 48 | cycles_t time_destroy_session_end; |
| 49 | |
| 50 | #endif /* _MEASURES_H */ |