profiler  0.0
molpro::profiler::dotgraph::GraphEntry Class Reference

#include <dotgraph.h>

Public Member Functions

 GraphEntry (EntryType entry_type, std::string name, double runtime, int calls, double total_time, int operations=-1, std::string name_to="")
 
std::pair< std::string, std::string > get_colours (int hot[3], int cool[3], double total_time)
 

Public Attributes

EntryType entry_type
 
std::string name
 
double runtime
 
int calls
 
std::string name_to
 
std::string fontcolour
 
int operations = -1
 

Detailed Description

Represents a node (box) or edge in a graphviz digraph.

Constructor & Destructor Documentation

◆ GraphEntry()

molpro::profiler::dotgraph::GraphEntry::GraphEntry ( EntryType  entry_type,
std::string  name,
double  runtime,
int  calls,
double  total_time,
int  operations = -1,
std::string  name_to = "" 
)

Member Function Documentation

◆ get_colours()

std::pair<std::string, std::string> molpro::profiler::dotgraph::GraphEntry::get_colours ( int  hot[3],
int  cool[3],
double  total_time 
)

Member Data Documentation

◆ calls

int molpro::profiler::dotgraph::GraphEntry::calls

◆ entry_type

EntryType molpro::profiler::dotgraph::GraphEntry::entry_type

◆ fontcolour

std::string molpro::profiler::dotgraph::GraphEntry::fontcolour

◆ name

std::string molpro::profiler::dotgraph::GraphEntry::name

◆ name_to

std::string molpro::profiler::dotgraph::GraphEntry::name_to

◆ operations

int molpro::profiler::dotgraph::GraphEntry::operations = -1

◆ runtime

double molpro::profiler::dotgraph::GraphEntry::runtime