MCPcopy Create free account
hub / github.com/NativeScript/android / check

Method check

test-app/runtime/src/main/cpp/ManualInstrumentation.h:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 }
25
26 inline bool check() {
27 if (disabled) {
28 return false;
29 }
30 std::chrono::system_clock::time_point end = std::chrono::system_clock::now();
31 auto duration = std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::operator-(end, start)).count();
32 return duration >= 16000;
33 }
34
35 inline void log(const char* message) {
36 if (disabled) {

Calls 2

operator-Function · 0.85
countMethod · 0.65

Tested by

no test coverage detected