MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / CurrentOsStackTraceExceptTop

Method CurrentOsStackTraceExceptTop

test/common/gtest/gtest.cpp:2287–2290  ·  view source on GitHub ↗

Returns the current OS stack trace as an std::string. The maximum number of stack frames to be included is specified by the gtest_stack_trace_depth flag. The skip_count parameter specifies the number of top frames to be skipped, which doesn't count against the number of frames to be included. For example, if Foo() calls Bar(), which in turn calls CurrentOsStackTraceExceptTop(1), Foo() will be i

Source from the content-addressed store, hash-verified

2285// CurrentOsStackTraceExceptTop(1), Foo() will be included in the
2286// trace but Bar() and CurrentOsStackTraceExceptTop() won't.
2287std::string UnitTestImpl::CurrentOsStackTraceExceptTop(int skip_count) {
2288 (void)skip_count;
2289 return "";
2290}
2291
2292// Returns the current time in milliseconds.
2293TimeInMillis GetTimeInMillis() {

Callers 2

operator=Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected