MCPcopy Create free account
hub / github.com/apache/arrow / Sleep

Method Sleep

cpp/src/arrow/io/slow.cc:63–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61LatencyGenerator::~LatencyGenerator() {}
62
63void LatencyGenerator::Sleep() {
64 std::this_thread::sleep_for(std::chrono::duration<double>(NextLatency()));
65}
66
67std::shared_ptr<LatencyGenerator> LatencyGenerator::Make(double average_latency) {
68 return std::make_shared<LatencyGeneratorImpl>(

Callers 15

ReadMethod · 0.80
ReadAtMethod · 0.80
GetFileInfoMethod · 0.80
CreateDirMethod · 0.80
DeleteDirMethod · 0.80
DeleteDirContentsMethod · 0.80
DeleteRootDirContentsMethod · 0.80
DeleteFileMethod · 0.80
MoveMethod · 0.80
CopyFileMethod · 0.80
OpenInputStreamMethod · 0.80
OpenInputFileMethod · 0.80

Calls

no outgoing calls

Tested by 1

MakeJitteryFunction · 0.64