Go to the documentation of this file.
44 if (
void *sym = dlsym(
nullptr,
"igprof_dump_now")) {
45 dump_ = __extension__(
void (*)(
const char *)) sym;
47 edm::LogWarning(
"IgProfModule") <<
"IgProfModule requested but application is not"
48 <<
" currently being profiled with igprof\n";
136 dump_(
final.c_str());
141 size_t patlen = strlen(
pat);
145 int n = sprintf(
buf,
"%d",
val);
155 size_t patlen = strlen(
pat);
159 int n = sprintf(
buf,
"%llu",
val);
LuminosityBlockID const & luminosityBlockID() const
std::string atPostBeginRun_
std::string atPostCloseFile_
void watchPostGlobalEndRun(PostGlobalEndRun::slot_type const &iSlot)
void postBeginRun(GlobalContext const &gc)
void watchPostGlobalEndLumi(PostGlobalEndLumi::slot_type const &iSlot)
void preEvent(StreamContext const &sc)
#define DEFINE_FWK_SERVICE(type)
edm::EventNumber_t nevent_
void watchPostOpenFile(PostOpenFile::slot_type const &iSlot)
static std::string replace(const std::string &s, const char *pat, int val)
T getUntrackedParameter(std::string const &, T const &) const
static std::string replaceU64(const std::string &s, const char *pat, unsigned long long val)
std::string atPostEndJob_
std::string atPostOpenFile_
void watchPostCloseFile(PostCloseFile::slot_type const &iSlot)
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
void postEndLumi(GlobalContext const &gc)
std::string atPostBeginJob_
void watchPreEvent(PreEvent::slot_type const &iSlot)
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
std::string atPostEndLumi_
void watchPostEvent(PostEvent::slot_type const &iSlot)
std::string atPostEndRun_
void makeDump(const std::string &format)
edm::LuminosityBlockNumber_t nlumi_
EventNumber_t event() const
void postOpenFile(std::string const &, bool)
void watchPostGlobalBeginLumi(PostGlobalBeginLumi::slot_type const &iSlot)
LuminosityBlockNumber_t luminosityBlock() const
void postCloseFile(std::string const &, bool)
void postEvent(StreamContext const &sc)
std::string atPostBeginLumi_
IgProfService(const ParameterSet &, ActivityRegistry &)
void(* dump_)(const char *)
void watchPostGlobalBeginRun(PostGlobalBeginRun::slot_type const &iSlot)
void postEndRun(GlobalContext const &gc)
void postBeginLumi(GlobalContext const &gc)
EventID const & eventID() const