/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/MessageService/test/MemoryTestClient_B.h
35 строк
925 B
Christopher Jones
Removed legacy EDAnalyzer interface
11 янв 2023, 22:29
11 янв 2023, 22:29
870fdfa
Код
Авторство
О чём код?
#ifndef FWCore_MessageService_test_MemoryTestClient_B_h #define FWCore_MessageService_test_MemoryTestClient_B_h #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/one/EDAnalyzer.h" #include "FWCore/Utilities/interface/propagate_const.h" #include <vector> // MemoryTestClient_B is used for testing JObReprt outputs from // the MemoryService namespace edm { class ParameterSet; } namespace edmtest { class MemoryTestClient_B : public edm::one::EDAnalyzer<> { public: explicit MemoryTestClient_B(edm::ParameterSet const&); void analyze(edm::Event const& e, edm::EventSetup const& c) final; 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_B_h