#include "stdafx.h"
#include "NTPerformanceObjects.hpp"
#include "../DumpWinMsg.hpp"
Go to the source code of this file.
|
| | __declspec (dllexport) DWORD CALLBACK OpenPerformanceData(LPWSTR lpDeviceNames) |
| |
| NTPerformanceObjects::nt_event_log | Log (NTUtils::EventLog::err_information, NTUtils::EventLog::cat_custom2, "CollectPerformanceData(...) : Collecting...") |
| |
| std::auto_ptr< char > | n_value (new char[wcslen(lpwszValue)]) |
| |
| | CharToOemW (lpwszValue, n_value.get()) |
| |
| NTPerformanceObjects::nt_event_log | Log (NTUtils::EventLog::err_information, NTUtils::EventLog::cat_custom2, str) |
| |
| | if (cpp_performance_objects->find(n_value.get())==cpp_performance_objects->end()) |
| |
| | catch (std::exception err) |
| |
| | catch (...) |
| |
◆ __declspec()
◆ catch() [1/2]
◆ catch() [2/2]
| catch |
( |
std::exception |
err | ) |
|
◆ CharToOemW()
| CharToOemW |
( |
lpwszValue |
, |
|
|
n_value. |
get() |
|
) |
| |
◆ if()
◆ Log() [1/2]
| NTPerformanceObjects::nt_event_log Log |
( |
NTUtils::EventLog::err_information |
, |
|
|
NTUtils::EventLog::cat_custom2 |
, |
|
|
"CollectPerformanceData(...) : Collecting..." |
|
|
) |
| |
◆ Log() [2/2]
| NTPerformanceObjects::nt_event_log Log |
( |
NTUtils::EventLog::err_information |
, |
|
|
NTUtils::EventLog::cat_custom2 |
, |
|
|
str |
|
|
) |
| |
◆ n_value()
| std::auto_ptr< char > n_value |
( |
new char |
[wcslen(lpwszValue)] | ) |
|
◆ cpp_performance_objects
| NTPerformanceObjects::cpp_performance_objects_type *const cpp_performance_objects =(NTPerformanceObjects::cpp_performance_objects_type *)cpp_po_heap |
◆ ERROR_INVALID_FUNCTION
| return ERROR_INVALID_FUNCTION |
◆ lpcbBytes
◆ lpcObjectTypes
Initial value:{
NTUtils::CSectionLock lock(NTPerformanceObjects::perf_ctr_map_sect)
Definition at line 90 of file NTPerformanceObjects.cpp.
◆ lppData
◆ str
| char str ="CollectPerformanceData(...) : Collection parameters:\nCollection load type:'" |
◆ try
Initial value:{
const unsigned long initial_shared_memory_size
const std::pair< std::string, std::string > map_shared_memory_names(map_shared_memory_name, map_shared_mutex_name)
Definition at line 94 of file NTPerformanceObjects.cpp.