summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d153934)
raw | patch | inline | side by side (parent: d153934)
author | Vincent Brillault <git@lerya.net> | |
Sat, 23 Aug 2014 15:30:18 +0000 (17:30 +0200) | ||
committer | Vincent Brillault <git@lerya.net> | |
Sat, 28 Feb 2015 06:35:41 +0000 (07:35 +0100) |
src/turbostat.c | patch | blob | history |
diff --git a/src/turbostat.c b/src/turbostat.c
index 17fe005609dced5a66e207cc767c6614b7b04420..55d1179b782608e73313b88d37145f21a3b173bc 100644 (file)
--- a/src/turbostat.c
+++ b/src/turbostat.c
* Perf Status percentage: %5.2
* "CTMP" 4 columns %4d
*/
-#define NAME_LEN 12
static int
submit_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p)
{
- char name[NAME_LEN];
+ char name[12];
double interval_float;
interval_float = tv_delta.tv_sec + tv_delta.tv_usec/1000000.0;