#include <windows.h>
#include <algorithm>
#include <atomic>
#include <chrono>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <system_error>
#include <thread>
#include <unordered_set>
#include <vector>
◆ _ITERATOR_DEBUG_LEVEL
#define _ITERATOR_DEBUG_LEVEL 0 |
◆ create_line_buffer()
template<class TCallback >
Line_buffer< TCallback > create_line_buffer |
( |
TCallback && |
callback | ) |
|
◆ create_process()
template<class TCallback >
Process< TCallback > create_process |
( |
std::string |
cmd_line, |
|
|
TCallback && |
input_handler, |
|
|
DWORD |
pipe_size |
|
) |
| |
◆ error()
void error |
( |
std::string |
message | ) |
|
Prints an error message supplied and attaches GetLastError with formatted message.
◆ filetime_to_sec()
double filetime_to_sec |
( |
const FILETIME & |
f | ) |
|
◆ get_cpu_time()
double get_cpu_time |
( |
HANDLE |
process | ) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
const char * |
argv[] |
|
) |
| |
◆ measure_execution_time()
template<class TCallback >
double measure_execution_time |
( |
TCallback && |
callback | ) |
|
◆ our_cpu_time()
◆ buf_size
constexpr DWORD buf_size = 16 * 1024 |
|
constexpr |
◆ raw_buffer