change the naming of MainBins. didn't check this in before because i had random debug statements i didn't want to push along with it.
kern/tru64/tru64_system.cc: change the naming of Bins, add some DPRINTFs --HG-- extra : convert_revision : 65eeb61caa3132adc45972feff891e4a969c06c5
This commit is contained in:
parent
6eebb270be
commit
532374bf2b
1 changed files with 4 additions and 5 deletions
|
@ -48,8 +48,8 @@ Tru64System::Tru64System(const string _name, const uint64_t _init_param,
|
||||||
const string &kernel_path, const string &console_path,
|
const string &kernel_path, const string &console_path,
|
||||||
const string &palcode, const string &boot_osflags,
|
const string &palcode, const string &boot_osflags,
|
||||||
const bool _bin, const vector<string> &binned_fns)
|
const bool _bin, const vector<string> &binned_fns)
|
||||||
: System(_name, _init_param, _memCtrl, _physmem, _bin), bin(_bin),
|
: System(_name, _init_param, _memCtrl, _physmem, _bin),
|
||||||
binned_fns(binned_fns)
|
bin(_bin), binned_fns(binned_fns)
|
||||||
{
|
{
|
||||||
kernelSymtab = new SymbolTable;
|
kernelSymtab = new SymbolTable;
|
||||||
consoleSymtab = new SymbolTable;
|
consoleSymtab = new SymbolTable;
|
||||||
|
@ -170,8 +170,7 @@ Tru64System::Tru64System(const string _name, const uint64_t _init_param,
|
||||||
fnEvents.resize(end>>1);
|
fnEvents.resize(end>>1);
|
||||||
|
|
||||||
for (int i = 0; i < end; i +=2) {
|
for (int i = 0; i < end; i +=2) {
|
||||||
cout << "creating Bin for " << binned_fns[i] << endl;
|
Bin = new Statistics::MainBin(binned_fns[i]);
|
||||||
Bin = new Statistics::MainBin(name() + " " + binned_fns[i]);
|
|
||||||
fnBins.insert(make_pair(binned_fns[i], Bin));
|
fnBins.insert(make_pair(binned_fns[i], Bin));
|
||||||
|
|
||||||
fnEvents[(i>>1)] = new FnEvent(&pcEventQueue, binned_fns[i], this);
|
fnEvents[(i>>1)] = new FnEvent(&pcEventQueue, binned_fns[i], this);
|
||||||
|
@ -290,7 +289,7 @@ Tru64System::dumpState(ExecContext *xc) const
|
||||||
stack<fnCall *> copy(xc->swCtx->callStack);
|
stack<fnCall *> copy(xc->swCtx->callStack);
|
||||||
if (copy.empty())
|
if (copy.empty())
|
||||||
return;
|
return;
|
||||||
DPRINTF(TCPIP, "xc->swCtx:\n");
|
DPRINTF(TCPIP, "xc->swCtx, size: %d:\n", copy.size());
|
||||||
fnCall *top;
|
fnCall *top;
|
||||||
DPRINTF(TCPIP, "|| call : %d\n",xc->swCtx->calls);
|
DPRINTF(TCPIP, "|| call : %d\n",xc->swCtx->calls);
|
||||||
for (top = copy.top(); !copy.empty(); copy.pop() ) {
|
for (top = copy.top(); !copy.empty(); copy.pop() ) {
|
||||||
|
|
Loading…
Reference in a new issue