CMS 3D CMS Logo

IgProfMem.cc File Reference

#include "IgTools/IgProf/src/IgProf.h"
#include "IgTools/IgProf/src/IgProfTrace.h"
#include "IgTools/IgHook/interface/IgHook.h"
#include "IgTools/IgHook/interface/IgHookTrace.h"
#include <cstdlib>
#include <cstring>
#include <cstdio>
#include <pthread.h>

Go to the source code of this file.

Functions

static void __attribute__ ((noinline)) add(void *ptr
 Record an allocation at ptr of size bytes.
void size_t size_t libc so
void size_t size_t libc so
void size_t libc so 
IGPROF_DUAL_HOOK (1, void, dofree, _main, _libc,(void *ptr),(ptr),"free", 0,"libc.so.6") static IgProfTrace
void size_t size_t libc so
void size_t size_t libc so 
IGPROF_DUAL_HOOK (2, void *, domemalign, _main, _libc,(size_t alignment, size_t size),(alignment, size),"memalign", 0,"libc.so.6") IGPROF_DUAL_HOOK(1
void size_t size_t libc so IGPROF_DUAL_HOOK (2, void *, dorealloc, _main, _libc,(void *ptr, size_t n),(ptr, n),"realloc", 0,"libc.so.6") IGPROF_DUAL_HOOK(3
 IGPROF_DUAL_HOOK (1, void *, domalloc, _main, _libc,(size_t n),(n),"malloc", 0,"libc.so.6") IGPROF_DUAL_HOOK(2

Variables

void _libc
void _main
void size_t size_t libc so
void size_t 
alignment
void size_t size_t calloc
void docalloc
void size_t size_t libc so dopmemalign
void size_t size_t libc so
void size_t size_t libc so
void 
dovalloc
void size_t size_t libc so int
void size_t size_t m
void size_t n
void size_t size_t libc so
void size_t size_t 
posix_memalign
void size_t size_t libc so void ** ptr
static bool s_count_largest = 0
static bool s_count_live = 0
static bool s_count_total = 0
static IgProfTrace::CounterDef s_ct_largest = { "MEM_MAX", IgProfTrace::MAX, -1 }
static IgProfTrace::CounterDef s_ct_live = { "MEM_LIVE", IgProfTrace::TICK_PEAK, -1 }
static bool s_initialized = false
static int s_moduleid = -1
void size_t size_t libc so
void size_t size_t 
size
void size_t size_t libc so
void size_t size_t libc so
void size_t 
valloc


Function Documentation

static void __attribute__ ( (noinline)   )  [static]

Record an allocation at ptr of size bytes.

Increments counters in the tree for the allocations as per current configuration and adds the pointer to current live memory map if we are tracking leaks.

void size_t size_t libc so void size_t size_t libc so void size_t libc so IGPROF_DUAL_HOOK ( ,
void  ,
dofree  ,
_main  ,
_libc  ,
(void *ptr ,
(ptr ,
"free"  ,
,
"libc.so.6"   
)

Type constraints

Definition at line 31 of file IgProfMem.cc.

References IgProfTrace::TICK.

00036                                                   { "MEM_TOTAL",    IgProfTrace::TICK, -1 };

void size_t size_t libc so void size_t size_t libc so IGPROF_DUAL_HOOK ( ,
void ,
domemalign  ,
_main  ,
_libc  ,
(size_t alignment, size_t size ,
(alignment, size ,
"memalign"  ,
,
"libc.so.6"   
)

Type constraints

void size_t size_t libc so IGPROF_DUAL_HOOK ( ,
void ,
dorealloc  ,
_main  ,
_libc  ,
(void *ptr, size_t n ,
(ptr, n ,
"realloc"  ,
,
"libc.so.6"   
)

Type constraints

IGPROF_DUAL_HOOK ( ,
void ,
domalloc  ,
_main  ,
_libc  ,
(size_t n ,
(n ,
"malloc"  ,
,
"libc.so.6"   
)


Variable Documentation

void size_t size_t libc so void size_t size_t libc so void _libc

Definition at line 15 of file IgProfMem.cc.

void size_t size_t libc so void size_t size_t libc so void _main

Definition at line 15 of file IgProfMem.cc.

void size_t size_t libc so void size_t size_t alignment

Definition at line 21 of file IgProfMem.cc.

Referenced by IgSoGL2PSAction::text2().

void size_t size_t calloc

Definition at line 15 of file IgProfMem.cc.

void docalloc

Definition at line 15 of file IgProfMem.cc.

void size_t size_t libc so dopmemalign

Definition at line 21 of file IgProfMem.cc.

void size_t size_t libc so void size_t size_t libc so void dovalloc

Definition at line 28 of file IgProfMem.cc.

void size_t size_t libc so int

Definition at line 21 of file IgProfMem.cc.

void size_t size_t m

Definition at line 15 of file IgProfMem.cc.

void size_t size_t n

Definition at line 15 of file IgProfMem.cc.

void size_t size_t libc so void size_t size_t posix_memalign

Definition at line 21 of file IgProfMem.cc.

void size_t size_t libc so void size_t size_t ptr

Definition at line 21 of file IgProfMem.cc.

bool s_count_largest = 0 [static]

Definition at line 40 of file IgProfMem.cc.

bool s_count_live = 0 [static]

Definition at line 41 of file IgProfMem.cc.

bool s_count_total = 0 [static]

Definition at line 39 of file IgProfMem.cc.

IgProfTrace::CounterDef s_ct_largest = { "MEM_MAX", IgProfTrace::MAX, -1 } [static]

Definition at line 37 of file IgProfMem.cc.

IgProfTrace::CounterDef s_ct_live = { "MEM_LIVE", IgProfTrace::TICK_PEAK, -1 } [static]

Definition at line 38 of file IgProfMem.cc.

bool s_initialized = false [static]

Definition at line 42 of file IgProfMem.cc.

int s_moduleid = -1 [static]

Definition at line 43 of file IgProfMem.cc.

void size_t size_t libc so void size_t size_t libc so void size_t size

Definition at line 21 of file IgProfMem.cc.

Referenced by DigiCollectionFP420::add(), edm::helper::Filler< edm::Association< C > >::add(), HcalHardwareXml::addPart(), VisG4VisSceneHandler::AddPrimitive(), PhysicsTools::Calibration::MVAComputer::addProcessor(), SiStripQualityHotStripIdentifier::algoAnalyze(), reco::TrackBase::algoByName(), SiStripNoises::allNoises(), SiStripPedestals::allPeds(), HLTBJet::analyseCorrectedJets(), HLTBJet::analyseJets(), HLTBJet::analyseLifetime(), HLTBJet::analyseLifetimeLoose(), HLTBJet::analysePerformance(), HLTBJet::analyseSoftmuon(), BTagPerformanceAnalyzerMC::analyze(), BTagPerformanceAnalyzer::analyze(), CSCFileDumper::analyze(), HLTMuonGenericRate::analyze(), test::GlobalNumbersAnalysis::analyze(), SiStripFEDRawDataCheck::analyze(), BTagPerformanceAnalyzerOnData::analyze(), SegmentTrackAnalyzer::analyze(), DTSegmentsTask::analyze(), L1TFED::analyze(), BxTiming::analyze(), dqm::daq::FEDMonitor::analyze(), DTSegmentAnalysisTask::analyze(), HOCalibAnalyzer::analyze(), cms::ProducerAnalyzer::analyze(), MuonAlignmentAnalyzer::analyze(), TaggingVariablePlotter::analyzeTag(), HLTEventAnalyzerRAW::analyzeTrigger(), VertexAssociatorByTracks::associateRecoToSim(), VertexAssociatorByTracks::associateSimToReco(), fwlite::Event::atEnd(), PxCPEdbReader::beginJob(), DTResolutionAnalysisTask::beginLuminosityBlock(), DTEfficiencyTask::beginLuminosityBlock(), DTChamberEfficiencyTask::beginLuminosityBlock(), TrackerOfflineValidation::bookDirHists(), MagGeoBuilderFromDDD::build(), CaloGeometryHelper::buildCrystalArray(), SiStripFedCabling::buildFedCabling(), CaloGeometryHelper::buildNeighbourArray(), EcalHitMaker::buildSegments(), L1MuDTTrackContainer::bxSize(), L1MuDTChambThContainer::bxSize(), L1MuDTChambPhContainer::bxSize(), MeasurementTiltmeter::calculateSimulatedValue(), MeasurementSensor2D::calculateSimulatedValue(), MeasurementDistancemeter3dim::calculateSimulatedValue(), MeasurementDistancemeter::calculateSimulatedValue(), MeasurementDiffEntry::calculateSimulatedValue(), MeasurementCOPS::calculateSimulatedValue(), XrdStorageMaker::check(), StormStorageMaker::check(), StormLcgGtStorageMaker::check(), LocalStorageMaker::check(), RFIOStorageMaker::check(), DCacheStorageMaker::check(), global_simpleAngular_2::checkParameters(), global_simpleAngular_1::checkParameters(), global_simpleAngular_0::checkParameters(), global_linear_1::checkParameters(), global_linear_0::checkParameters(), CSCSegAlgoST::ChooseSegments2(), CSCSegAlgoST::ChooseSegments3(), CalorimetryManager::clean(), EcalEndcapRecHitsMaker::clean(), EcalBarrelRecHitsMaker::clean(), HcalRecHitsMaker::cleanSubDet(), PixelTrackCleanerBySharedHits::cleanTracks(), CSCSegAlgoST::clusterHits(), CSCSegAlgoPreClustering::clusterHits(), TrackerOfflineValidation::collateSummaryHists(), CombinationGenerator< T >::combinations(), FineDelayHistosUsingDb::computeDelays(), DTBtiChip::computeEqs(), pos::PixelConfigFile::configurationDataExists(), SiStripFedCabling::connection(), PhysicsTools::MVATrainer::connectProcessors(), RoadMaker::constructRoads(), PhysicsTools::Calibration::convert(), IgSoFieldPlane::convertGradientScaleColors(), IgSoFieldPlane::convertMagFieldColors(), SimpleL5FlavorCorrector::correctionPtEta(), XMLZeroSuppression::createByCrate(), XMLHTRPatterns::createByCrate(), DialogFrame::createCmdFrame(), evf::FUShmBuffer::createShmBuffer(), EcalElectronicsMapping::dccConstituents(), HLTLevel1GTSeed::debugPrint(), OptoScanTask::deprecated(), ClusterShape::determineShape(), magfieldparam::rz_poly::Diff(), CSCAFEBThrAnalysis::done(), edm::FUShmOutputModule::doOutputEvent(), edm::FUShmOutputModule::doOutputHeader(), GctRawToDigi::doVerboseOutput(), CaloNavigator< EBDetId >::down(), CSCAnodeLCTProcessor::dumpDigis(), PrintMaterialBudgetInfo::dumpElementMassFraction(), pat::GenericDuplicateRemover< Comparator, Arbitrator >::duplicates(), CaloNavigator< EBDetId >::east(), PFRecHitProducerECAL::ecalNeighbArray(), DTTracoChip::edgeBTI(), CalorimetryManager::EMShowerSimulation(), ImpactParameterCalibration::endJob(), HLTTauPostProcessor::endJob(), reco::Conversion::EoverP(), DTBtiChip::eraseTrigger(), MuonSeedCreator::estimatePtCSC(), MuonSeedCreator::estimatePtDT(), MuonSeedCreator::estimatePtOverlap(), TrackQuality::evaluate(), DDEcalBarrelAlgo::execute(), PedsOnlySummaryFactory::extract(), PedestalsSummaryFactory::extract(), NoiseSummaryFactory::extract(), EcalHitMaker::fastInsideCell(), fit::RootMinuit< Function >::fcn_(), OptoScanTask::fill(), SiPixelClusterModule::fill(), EnergyScaleAnalyzer::fillTree(), TriggerSummaryProducerAOD::fillTriggerObjects(), HLTPMDocaFilter::filter(), cms::ClusterMTCCFilter::filter(), FilterOR::FilterOR(), pat::GenericOverlapFinder< Distance >::find(), GctFormatTranslateMCLegacy::findBx0OffsetInCollection(), L1GtVhdlWriterCore::findObjectType(), HcalPacker::findSamples(), CastorPacker::findSamples(), IgQtRangeMValue< short >::forceValue(), IgQtRangeMValue< short >::forceValueChanged(), FsmwClusterizer1DNameSpace::fsmw(), evf::FUShmBuffer::FUShmBuffer(), DTConfigHandler::get(), ComponentFactoryByName< B >::getBuilder(), L1GtVhdlTemplateFile::getConditionsFromAlgo(), HDetIdAssociator::getDetIdsInACone(), IgEnvsElement::getEnv(), EcalTBDaqSimpleFile::getEventData(), EcalTBDaqRFIOFile::getEventData(), JetMatchingTools::getGenParticle(), HcalLutManager::getLutXmlFromAsciiMaster(), VisG4VisSceneHandler::GetMarkerSize(), JetPartonMatching::getMatchForParton(), RunSummaryHandler::getNewObjects(), RunInfoHandler::getNewObjects(), L1TriggerScalerHandler::getNewObjects(), popcon::RPCEMapSourceHandler::getNewObjects(), RPCDBPerformanceHandler::getNewObjects(), pos::PixelConfigFile::getPath(), PhysicsTools::Calibration::MVAComputer::getProcessors(), HcalQIEManager::getQIETableFromFile(), evf::FUShmBuffer::getShmBuffer(), JetPartonMatching::getSumDeltaE(), JetPartonMatching::getSumDeltaR(), magfieldparam::rz_poly::GetSVal(), getTotalSize(), HcalGeometry::getValidDetIds(), HcalDDDGeometry::getValidDetIds(), ZdcGeometry::getValidDetIds(), CastorGeometry::getValidDetIds(), IgConfigElement::getValues(), magfieldparam::rz_poly::GetVVal(), EcalTrivialConditionRetriever::getWeightsFromConfiguration(), PixelTripletHLTGenerator::hitTriplets(), TripletGenerator::hitTriplets(), HLTLevel1GTSeed::HLTLevel1GTSeed(), pat::TriggerEvent::indexFilter(), HFShower::indexFinder(), HDShower::indexFinder(), pat::TriggerPath::indexModule(), pat::TriggerEvent::indexPath(), CombinedHitPairGenerator::init(), MuDetRing::init(), HcalRecHitsMaker::init(), EcalEndcapRecHitsMaker::init(), EcalBarrelRecHitsMaker::init(), edm::BranchDescription::init(), LayerHitMap::initCells(), SiStripFedKey::initFromPath(), SiStripFecKey::initFromPath(), VisRootBrowser::initialise(), Ig3DBaseBrowser::initialise(), edm::helper::Filler< edm::Association< C > >::insert(), RPCLogCone::isPlaneFired(), fwlite::Event::isValid(), join(), LaserHitPairGenerator::LaserHitPairGenerator(), LayerTriplets::layers(), CalorimetryManager::loadFromEcalBarrel(), CalorimetryManager::loadFromEcalEndcap(), CalorimetryManager::loadFromHcal(), DisplayManager::loadGPFBlocks(), main(), FittedEntriesManager::MakeHistos(), JetAnalyzer::MakeIRConeJets(), RPCFakeCalibration::makeNoise(), EcalDeadChannelRecoveryAlgos::MakeNxNMatrice(), IgSoGL2PSAction::markerSet(), reco::PFBlock::matrix2vector(), TCnaReadEB::MaxCrysEtaInTow(), TCnaReadEB::MaxCrysPhiInTow(), mergeInward(), mergeOutward(), MixingModule::MixingModule(), FinalTreeBuilder::momentumPart(), ConstrainedTreeBuilder::momentumPart(), stor::StorageManager::monitoring(), DTBtiChip::nCellHit(), FileReaderDDU::next(), FileReaderDCC::next(), cscdqm::Detector::NextAddressBoxByPartition(), CaloNavigator< EBDetId >::north(), MuonSeedBuilder::NRecHitsFromSegment(), edm::AssociationMap< Tag >::numberOfAssociations(), VisFEDRawDataCollectionTwig::onNewEvent(), StreamerInputFile::openStreamerFile(), LASvector2D< Element >::operator *(), LASvector< Element >::operator *(), CSCThrTurnOnFcn::operator()(), lhef::JetInput::operator()(), LASvector< Element >::operator+(), fwlite::Event::operator++(), LASvector< Element >::operator-(), operator<<(), DDLParser::parse(), L1GtTriggerMenuXmlParser::parseCorrelation(), pat::TriggerEvent::pathModules(), PixelErrorParametrization::PixelErrorParametrization(), PixelSLinkDataInputSource::PixelSLinkDataInputSource(), edm::PoolSource::PoolSource(), lhef::pop(), IODConfig::populateClob(), edm::service::RandomNumberGeneratorService::print(), BlockFormatter::print(), PedsOnlyAnalysis::print(), PedestalsAnalysis::print(), NoiseAnalysis::print(), L1GtPrescaleFactors::print(), printAsContainer(), Ig3DBaseBrowser::printBitmap(), printContentsOfStdContainer(), printObject(), HcaluLUTTPGCoder::PrintTPGMap(), process(), G4ProcessTypeEnumerator::processG4Name(), processHits(), processTrig(), TrackingTruthProducer::produce(), reco::modules::TrackMultiSelector::produce(), DeDxDiscriminatorProducer::produce(), InputGenJetsParticleSelector::produce(), TrackerOnlyConversionProducer::produce(), EcalRecHitsMerger::produce(), SoftLepton::produce(), reco::PhysObjectMatcher< C1, C2, S, D, Q >::produce(), reco::modulesNew::Matcher< C1, C2, S, D >::produce(), AssociationVectorSelector< KeyRefProd, CVal, KeySelector, ValSelector >::produce(), AssociationVector2ValueMap< KeyRefProd, CVal >::produce(), AssociationMapOneToOne2Association< CKey, CVal >::produce(), CandidateProducer< TColl, CColl, Selector, Conv, Creator, Init >::produce(), reco::modules::CaloRecHitCandidateProducer< HitCollection >::produce(), reco::modulesNew::MCTruthCompositeMatcher::produce(), GenParticleProducer::produce(), HLTTauRefCombiner::produce(), SiPixelDigiToRaw::produce(), RawDataCollectorModule::produce(), ZToLLEdmNtupleDumper::produce(), SubdetFEDSelector::produce(), SiStripRegFEDSelector::produce(), ECALRegFEDSelector::produce(), AlCaHOCalibProducer::produce(), EcalShowerContainmentCorrectionsESProducer::produce(), EcalGlobalShowerContainmentCorrectionsVsEtaESProducer::produce(), edm::BranchDescription::psetID(), CSCAnodeLCTProcessor::pulseExtension(), reco::TrackBase::qualityByName(), stor::StorageManager::rbsenderWebPage(), CalibratedHistogramXML::read(), cond::TBufferBlobReader::read(), PileUpProducer::read(), NuclearInteractionSimulator::read(), cond::FileReader::read(), IODConfig::readClob(), RunInfoRead::readData(), edm::RootInputFileSequence::readManyRandom_(), SiStripDaqInfo::readSubdetFedFractions(), Model::readSystemDescription(), evf::FUShmBuffer::releaseSharedMemory(), IgControlCentre::removeCategory(), global_simpleAngular_2::rotation(), global_simpleAngular_1::rotation(), global_simpleAngular_0::rotation(), DisplayManager::rubOutGPFBlock(), edm::GroupSelectorRules::Rule::Rule(), NuclearInteractionFinder::run(), DTTracoChip::run(), ElectronGSPixelSeedGenerator::run(), AlignmentAlgorithmBW::run(), RPCFinalSorter::runFinalSorter(), CommissioningHistograms::runNumber(), RPCTriggerBoard::runTBGB(), CommissioningHistograms::runType(), IgConfigElement::save(), NuclearInteractionSimulator::save(), PFConversionAlgo::setActive(), EcalFixedAlphaBetaFitUncalibRecHitProducer::setAlphaBeta(), hcaltb::HcalTBTDCUnpacker::setCalib(), hcaltb::HcalTBQADCUnpacker::setCalib(), PFConversionAlgo::setCandidates(), PFBlockAlgo::setInput(), PFConversionAlgo::setLinks(), TBRUInputSource::setRunAndEventInfo(), RPCFileReader::setRunAndEventInfo(), LinkDataXMLReader::setRunAndEventInfo(), HcalTBSource::setRunAndEventInfo(), Ecal2004TBSource::setRunAndEventInfo(), AlignmentParameterSelector::setSpecials(), OpticalObject::shortName(), edm::RootOutputFile::shouldWeCloseFile(), OrderedHitPairs::size(), OrderedHitTriplets::size(), evf::FUShmBuffer::size(), edm::Association< C >::size(), OrderedLaserHitPairs::size(), edm::Entry::sizeOfStringOfTracked(), CaloNavigator< EBDetId >::south(), CombinationGenerator< T >::splitInTwoCollections(), PhysicsTools::stdStringVPrintf(), stor::StorageManager::stopAction(), L1MuGMTLUT::PortDecoder::str(), CSCEfficiency::StripWire_Efficiencies(), LASvector2D< Element >::sumR(), SiStripFedZeroSuppression::suppress(), edm::ParameterSet::toString(), edm::ParameterSet::toStringOfTracked(), edm::Entry::toStringOfTracked(), TrackingTruthProducer::trackingVertexAssembler(), StandAloneMuonTrajectoryBuilder::trajectories(), DTTracoChip::trigger(), DTBtiChip::trigger(), DTTracoChip::triggerData(), DTBtiChip::triggerData(), edmplugin::PluginCapabilities::tryToFind(), CaloNavigator< EBDetId >::up(), VisCaloTowerTwig::update(), pat::CandidateSummaryTable::Record::update(), LatencyHistosUsingDb::update(), CalorimetryManager::updateMap(), OptOUserDefined::userDefinedBehaviour(), VisRootBrowser::VisRootBrowser(), MuonSeedCreator::weightedPt(), CaloNavigator< EBDetId >::west(), EcalUnpackerWorker::work(), CalibratedHistogramXML::write(), cond::TBufferBlobWriter::write(), GctFormatTranslateMCLegacy::writeAllRctCaloRegionBlock(), EcalErrorMask::writeDB(), RPCVHDLConeMaker::writeHeader(), GctFormatTranslateMCLegacy::writeRctEmCandBlocks(), FUShmDQMOutputService::writeShmDQMData(), IOOutput::writev(), PixelCPEParmError::xpos(), PixelCPEInitial::xpos(), CPEFromDetPosition::xpos(), IOInput::xreadv(), IOOutput::xwritev(), PixelCPEParmError::ypos(), PixelCPEInitial::ypos(), and edm::service::ELadministrator::~ELadministrator().

void size_t size_t libc so void size_t size_t libc so void size_t valloc

Definition at line 28 of file IgProfMem.cc.


Generated on Tue Jun 9 17:53:54 2009 for CMSSW by  doxygen 1.5.4