/vesta/vestasys.org/vesta/eval/98/src/Debug.C File Reference

#include "Debug.H"
#include "Expr.H"
#include <ThreadIO.H>

Include dependency graph for Debug.C:

Go to the source code of this file.

Classes

class  DepCompareInfo

Functions

bool CacheIt (Val v)
void PrintVars (ostream &os, const Vars &fv)
void PrintTags (ostream &os, const FP::List &tags)
void PrintNames (ostream &os, const FV2::List &names)
Val ContextNames (const Context &c)
void PrintDpnd (ostream &os, Val v)
void CollectAllDpnd (Val v, bool isModel, DPaths &ps)
void PrintAllDpnd (ostream &os, Val v)
void PrintDpndSize (ostream &os, Val v)
void DumpVal (Val v)
void PrintDepsDiffs (const Text &source, const FP::Tag &pk, CacheEntry::Index cIndex, Val old_v, Val new_v, const Text &name)


Function Documentation

bool CacheIt ( Val  v  ) 

Definition at line 32 of file Debug.C.

References BindingVK, ValC::cacheit, CacheIt(), OS::cio(), BindingVC::elems, OS::ThreadIO::end_err(), ListVK, ListT< Value >::Null(), ListT< Value >::Pop(), OS::ThreadIO::start_err(), and ValC::vKind.

Referenced by CacheIt().

Here is the call graph for this function:

Here is the caller graph for this function:

void CollectAllDpnd ( Val  v,
bool  isModel,
DPaths ps 
)

Definition at line 139 of file Debug.C.

References ValC::dps, nameDot, SharedTable< K, V >::T::Put(), and ValC::SizeOfDPS().

Referenced by PrintAllDpnd().

Here is the call graph for this function:

Here is the caller graph for this function:

Val ContextNames ( const Context c  ) 

Definition at line 96 of file Debug.C.

References ListT< Value >::Append1D(), NEW_CONSTR, ListT< Value >::Null(), and ListT< Value >::Pop().

Here is the call graph for this function:

void DumpVal ( Val  v  ) 

Definition at line 487 of file Debug.C.

void PrintAllDpnd ( ostream &  os,
Val  v 
)

Definition at line 255 of file Debug.C.

References CollectAllDpnd(), NEW_CONSTR, DepPathTbl::DPS::Print(), and ValC::SizeOfDPS().

Referenced by Print().

Here is the call graph for this function:

Here is the caller graph for this function:

void PrintDepsDiffs ( const Text source,
const FP::Tag pk,
CacheEntry::Index  cIndex,
Val  old_v,
Val  new_v,
const Text name 
)

Definition at line 758 of file Debug.C.

References OS::cio(), OS::ThreadIO::end_out(), and OS::ThreadIO::start_out().

Referenced by ApplicationFromCache(), ModelFromCache(), NormalModelFromCache(), and RunToolFromCache().

Here is the call graph for this function:

Here is the caller graph for this function:

void PrintDpnd ( ostream &  os,
Val  v 
)

Definition at line 106 of file Debug.C.

References ValC::dps, SharedTable< K, V >::KVPair::key, ValC::path, DepPath::Print(), ValC::PrintD(), ValC::SizeOfDPS(), and SharedTable< K, V >::KVPair::val.

Referenced by Print().

Here is the call graph for this function:

Here is the caller graph for this function:

void PrintDpndSize ( ostream &  os,
Val  v 
)

Definition at line 263 of file Debug.C.

References BindingVK, BindingVC::elems, ListVK, ListT< Value >::Null(), ValC::path, ListT< Value >::Pop(), ValC::SizeOfDPS(), and ValC::vKind.

Here is the call graph for this function:

void PrintNames ( ostream &  os,
const FV2::List names 
)

Definition at line 86 of file Debug.C.

References FV2::List::len, and FV2::List::name.

void PrintTags ( ostream &  os,
const FP::List tags 
)

Definition at line 76 of file Debug.C.

References FP::List::fp, and FP::List::len.

void PrintVars ( ostream &  os,
const Vars fv 
)

Definition at line 64 of file Debug.C.

References ListT< Value >::Null(), and ListT< Value >::Pop().

Here is the call graph for this function:


Generated on Thu May 24 23:28:23 2007 for Vesta by  doxygen 1.5.1