xml_utils.cpp File Reference

utility routines for generating XML More...

#include <iostream>
#include <sstream>
#include "xml_utils.h"
#include "format_output.h"
#include "arrange_profiles.h"
#include "op_bfd.h"
#include "cverb.h"
Include dependency graph for xml_utils.cpp:

Classes

class  subclass_info_t
class  module_info
class  thread_info
class  process_info
class  process_root_info
class  binary_info
class  binary_root_info

Typedefs

typedef growable_vector
< subclass_info_t
subclass_array_t
typedef growable_vector
< subclass_array_t
event_subclass_t
typedef growable_vector
< event_subclass_t
cpu_subclass_t

Functions

string get_counts_string (count_array_t const &counts, size_t begin, size_t end)
size_t get_next_tgid_pclass (size_t start)
size_t get_next_tid_pclass (size_t start)
void build_process_tree ()

Variables

bool want_xml = false
size_t nr_classes = 0
size_t nr_cpus = 0
size_t nr_events = 0
sym_iterator symbols_begin
sym_iterator symbols_end
format_output::xml_formatterxml_out
xml_utilsxml_support
ostringstream xml_options

Detailed Description

utility routines for generating XML

Remarks:
Copyright 2006 OProfile authors
Read the file COPYING
Author:
Dave Nomura

Typedef Documentation


Function Documentation

void build_process_tree (  ) 
string get_counts_string ( count_array_t const &  counts,
size_t  begin,
size_t  end 
)

References nr_cpus.

size_t get_next_tgid_pclass ( size_t  start  ) 

References classes, nr_classes, and profile_classes::v.

Referenced by build_process_tree().

size_t get_next_tid_pclass ( size_t  start  ) 

References classes, nr_classes, and profile_classes::v.

Referenced by build_process_tree().


Variable Documentation

size_t nr_classes = 0
size_t nr_cpus = 0
size_t nr_events = 0
bool want_xml = false
ostringstream xml_options

Referenced by xml_utils::add_option().


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1