OpenStudio:utilities
Loading...
Searching...
No Matches
openstudio::System Class Reference

#include <System.hpp>

Static Public Member Functions

static void msleep (int msecs)
 Sleep for number of milliseconds.
 
static unsigned numberOfProcessors ()
 Returns the number of processors on this computer.
 
static void testExceptions1 ()
 
static void testExceptions2 ()
 
static void testExceptions3 ()
 
static void testExceptions4 ()
 
static void testExceptions5 ()
 

Member Function Documentation

◆ msleep()

static void openstudio::System::msleep ( int msecs)
static

Sleep for number of milliseconds.

◆ numberOfProcessors()

static unsigned openstudio::System::numberOfProcessors ( )
static

Returns the number of processors on this computer.

◆ testExceptions1()

static void openstudio::System::testExceptions1 ( )
static
Note
not using string_view because we need null terminated strings Utility for testing exception handling within the system

◆ testExceptions2()

static void openstudio::System::testExceptions2 ( )
static

◆ testExceptions3()

static void openstudio::System::testExceptions3 ( )
static

◆ testExceptions4()

static void openstudio::System::testExceptions4 ( )
static

◆ testExceptions5()

static void openstudio::System::testExceptions5 ( )
static