Fixposition SDK 0.0.0-heads/main-0-g4d935a0
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

class  SigIntHelper
 Helper to catch SIGINT (CTRL-c). More...
class  SigTermHelper
 Helper to catch SIGTERM. More...
class  SigPipeHelper
 Helper to catch SIGPIPE. More...
class  StacktraceHelper
 Helper to print a strack trace on SIGSEGV and SIGABRT. More...
class  ProgramOptions
 Program options. More...
struct  PerfStats
 App performance stats. More...
struct  MemUsage
 Memory usage. 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