Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
svghelper.c File Reference
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include "svghelper.h"

Go to the source code of this file.


#define SLOT_MULT   30.0
#define SLOT_HEIGHT   25.0
#define MIN_TEXT_SIZE   0.01


void open_svg (const char *filename, int cpus, int rows, u64 start, u64 end)
void svg_box (int Yslot, u64 start, u64 end, const char *type)
void svg_sample (int Yslot, int cpu, u64 start, u64 end)
void svg_waiting (int Yslot, u64 start, u64 end)
void svg_cpu_box (int cpu, u64 __max_freq, u64 __turbo_freq)
void svg_process (int cpu, u64 start, u64 end, const char *type, const char *name)
void svg_cstate (int cpu, u64 start, u64 end, int type)
void svg_pstate (int cpu, u64 start, u64 end, u64 freq)
void svg_partial_wakeline (u64 start, int row1, char *desc1, int row2, char *desc2)
void svg_wakeline (u64 start, int row1, int row2)
void svg_interrupt (u64 start, int row)
void svg_text (int Yslot, u64 start, const char *text)
void svg_legenda (void)
void svg_time_grid (void)
void svg_close (void)


int svg_page_width = 1000

Macro Definition Documentation

#define MIN_TEXT_SIZE   0.01

Definition at line 32 of file svghelper.c.

#define SLOT_HEIGHT   25.0

Definition at line 28 of file svghelper.c.

#define SLOT_MULT   30.0

Definition at line 27 of file svghelper.c.

Function Documentation

void open_svg ( const char filename,
int  cpus,
int  rows,
u64  start,
u64  end 

Definition at line 74 of file svghelper.c.

void svg_box ( int  Yslot,
u64  start,
u64  end,
const char type 

Definition at line 122 of file svghelper.c.

void svg_close ( void  )

Definition at line 494 of file svghelper.c.

void svg_cpu_box ( int  cpu,
u64  __max_freq,
u64  __turbo_freq 

Definition at line 236 of file svghelper.c.

void svg_cstate ( int  cpu,
u64  start,
u64  end,
int  type 

Definition at line 282 of file svghelper.c.

void svg_interrupt ( u64  start,
int  row 

Definition at line 422 of file svghelper.c.

void svg_legenda ( void  )

Definition at line 453 of file svghelper.c.

void svg_partial_wakeline ( u64  start,
int  row1,
char desc1,
int  row2,
char desc2 

Definition at line 353 of file svghelper.c.

void svg_process ( int  cpu,
u64  start,
u64  end,
const char type,
const char name 

Definition at line 258 of file svghelper.c.

void svg_pstate ( int  cpu,
u64  start,
u64  end,
u64  freq 

Definition at line 335 of file svghelper.c.

void svg_sample ( int  Yslot,
int  cpu,
u64  start,
u64  end 

Definition at line 131 of file svghelper.c.

void svg_text ( int  Yslot,
u64  start,
const char text 

Definition at line 433 of file svghelper.c.

void svg_time_grid ( void  )

Definition at line 467 of file svghelper.c.

void svg_waiting ( int  Yslot,
u64  start,
u64  end 

Definition at line 171 of file svghelper.c.

void svg_wakeline ( u64  start,
int  row1,
int  row2 

Definition at line 400 of file svghelper.c.

Variable Documentation

int svg_page_width = 1000

Definition at line 30 of file svghelper.c.