Ignore:
Timestamp:
03/22/04 09:25:49 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MEvtLoop.cc

    r2728 r3568  
    496496    *fLog << all << "Ready!" << endl << endl;
    497497
    498     *fLog << dec << endl << "CPU  - "
    499         << "Time: " << clock.CpuTime() << "s"
    500         << " for " << numcnts << " Events"
    501         << " --> " << numcnts/clock.CpuTime() << " Events/s"
    502         << endl;
    503     *fLog << "Real - "
    504         << "Time: " << clock.RealTime() << "s"
    505         << " for " << numcnts << " Events"
    506         << " --> " << numcnts/clock.RealTime() << " Events/s"
    507         << endl << endl;
     498    *fLog << dec << endl << "CPU  - Time: ";
     499    *fLog << clock.CpuTime() << "s" << " for " << numcnts << " Events";
     500    if (numcnts>0)
     501        *fLog << " --> " << numcnts/clock.CpuTime() << " Events/s";
     502    *fLog << endl << "Real - Time: ";
     503    *fLog << clock.RealTime() << "s" << " for " << numcnts << " Events";
     504    if (numcnts>0)
     505        *fLog << " --> " << numcnts/clock.RealTime() << " Events/s";
     506
     507    *fLog << endl << endl;
    508508
    509509    return rc!=kERROR;
  • trunk/MagicSoft/Mars/mbase/MParList.cc

    r2556 r3568  
    329329//  'name' is the name of the object you are searching for.
    330330//
     331// In words: Find object name and check whether it inherits from classname
     332//
    331333TObject *MParList::FindObject(const char *name, const char *classname) const
    332334{
     
    427429//  "Name;1", "Name;2", ... If a semicolon is detected leading dots
    428430//  are stripped from the object-name (eg. "name;5.")
     431//
     432// In words: Create object of type classname and set its name to objname.
     433//           If an object with objname already exists return it.
    429434//
    430435MParContainer *MParList::FindCreateObj(const char *classname, const char *objname)
Note: See TracChangeset for help on using the changeset viewer.