Skip to content

Commit

Permalink
Update the (pre|post)Source(Lumi|Run) signals
Browse files Browse the repository at this point in the history
Update the (pre|post)Source(Lumi|Run) signals to match cms-sw#21872.
  • Loading branch information
fwyzard committed Jan 29, 2018
1 parent 8fd6dda commit 62dbfe5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions HeterogeneousCore/CUDAServices/plugins/NVProfilerService.cc
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,12 @@ class NVProfilerService {
void postSourceConstruction(edm::ModuleDescription const&);

// these signal pair are guaranteed to be called by the same thread
void preSourceRun();
void postSourceRun();
void preSourceRun(edm::RunIndex);
void postSourceRun(edm::RunIndex);

// these signal pair are guaranteed to be called by the same thread
void preSourceLumi();
void postSourceLumi();
void preSourceLumi(edm::LuminosityBlockIndex);
void postSourceLumi(edm::LuminosityBlockIndex);

// these signal pair are guaranteed to be called by the same thread
void preSourceEvent(edm::StreamID);
Expand Down Expand Up @@ -536,22 +536,22 @@ NVProfilerService::postSourceEvent(edm::StreamID sid) {
}

void
NVProfilerService::preSourceLumi() {
NVProfilerService::preSourceLumi(edm::LuminosityBlockIndex index) {
nvtxDomainRangePush(global_domain(), "source lumi");
}

void
NVProfilerService::postSourceLumi() {
NVProfilerService::postSourceLumi(edm::LuminosityBlockIndex index) {
nvtxDomainRangePop(global_domain());
}

void
NVProfilerService::preSourceRun() {
NVProfilerService::preSourceRun(edm::RunIndex index) {
nvtxDomainRangePush(global_domain(), "source run");
}

void
NVProfilerService::postSourceRun() {
NVProfilerService::postSourceRun(edm::RunIndex index) {
nvtxDomainRangePop(global_domain());
}

Expand Down

0 comments on commit 62dbfe5

Please sign in to comment.