Fixposition SDK 0.0.0-heads/main-0-g4e80ed3
Collection of c++ libraries and apps for use with Fixposition products on Linux
Loading...
Searching...
No Matches
fpsdk::common::app Namespace Reference

Utilities for apps. More...

Classes

struct  MemUsage
 Memory usage. More...
 
struct  PerfStats
 App performance stats. More...
 
class  ProgramOptions
 Program options. More...
 
class  SigIntHelper
 Helper to catch SIGINT (CTRL-c) More...
 
class  SigPipeHelper
 Helper to catch SIGPIPE. More...
 
class  StacktraceHelper
 Helper to print a strack trace on SIGSEGV and SIGABRT. More...
 

Functions

void PrintStacktrace ()
 Prints a stacktrace to stderr.
 
MemUsage GetMemUsage ()
 Get memory usage.
 

Detailed Description

Utilities for apps.

Function Documentation

◆ GetMemUsage()

MemUsage fpsdk::common::app::GetMemUsage ( )

Get memory usage.

Returns
the current memory usage