/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/MessageService/test/MemoryTestClient_A.h
37 строк
990 B
Chris Jones
Remove use of legacy module classes from framework tests
05 окт 2021, 17:09
05 окт 2021, 17:09
9c36c49
Код
Авторство
О чём код?
#ifndef FWCore_MessageService_test_MemoryTestClient_A_h #define FWCore_MessageService_test_MemoryTestClient_A_h #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/one/EDAnalyzer.h" #include "FWCore/Utilities/interface/propagate_const.h" #include <vector> // MemoryTestClient_A is used for testing JObReprt outputs from // the MemoryService namespace edm { class ParameterSet; } namespace edmtest { class MemoryTestClient_A : public edm::one::EDAnalyzer<edm::one::SharedResources> { public: explicit MemoryTestClient_A(edm::ParameterSet const&); virtual ~MemoryTestClient_A() {} virtual void analyze(edm::Event const& e, edm::EventSetup const& c); private: static int nevent; std::vector<double> memoryPattern; void initializeMemoryPattern(int pattern); double vsize; edm::propagate_const<char*> last_allocation; }; } // namespace edmtest #endif // FWCore_MessageService_test_MemoryTestClient_A_h