builtin-timechart.c (45694aa7702bc44d538a3bcb51bb2bb96cf190c0) builtin-timechart.c (efad14150a0b4429f37da7245001a8096ef7ee38)
1/*
2 * builtin-timechart.c - make an svg timechart of system activity
3 *
4 * (C) Copyright 2009 Intel Corporation
5 *
6 * Authors:
7 * Arjan van de Ven <arjan@linux.intel.com>
8 *

--- 24 unchanged lines hidden (view full) ---

33#include "util/session.h"
34#include "util/svghelper.h"
35#include "util/tool.h"
36
37#define SUPPORT_OLD_POWER_EVENTS 1
38#define PWR_EVENT_EXIT -1
39
40
1/*
2 * builtin-timechart.c - make an svg timechart of system activity
3 *
4 * (C) Copyright 2009 Intel Corporation
5 *
6 * Authors:
7 * Arjan van de Ven <arjan@linux.intel.com>
8 *

--- 24 unchanged lines hidden (view full) ---

33#include "util/session.h"
34#include "util/svghelper.h"
35#include "util/tool.h"
36
37#define SUPPORT_OLD_POWER_EVENTS 1
38#define PWR_EVENT_EXIT -1
39
40
41static char const *input_name = "perf.data";
42static char const *output_name = "output.svg";
41static const char *input_name;
42static const char *output_name = "output.svg";
43
44static unsigned int numcpus;
45static u64 min_freq; /* Lowest CPU frequency seen */
46static u64 max_freq; /* Highest CPU frequency seen */
47static u64 turbo_frequency;
48
49static u64 first_time, last_time;
50

--- 1074 unchanged lines hidden ---
43
44static unsigned int numcpus;
45static u64 min_freq; /* Lowest CPU frequency seen */
46static u64 max_freq; /* Highest CPU frequency seen */
47static u64 turbo_frequency;
48
49static u64 first_time, last_time;
50

--- 1074 unchanged lines hidden ---