Talk:Resource Tracking for FlightGear: Difference between revisions

Jump to navigation Jump to search
m
Line 60: Line 60:


<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
     class MemoryInterface {
     class LinuxMemoryInterface {
     +public:
     +public:
     + MemoryInterface() {}
     + LinuxMemoryInterface() {}
     + typedef map<const char*, double> RamMap;
     + typedef map<const char*, double> RamMap;
     +//protected:
     +//protected:
Line 87: Line 87:


<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
     + MemoryInterface() {
     + LinuxMemoryInterface() {
     + SG_LOG(SG_GENERAL, SG_ALERT, "TODO: Check for GPU vendor here, and dynamically allocate correct class");
     + SG_LOG(SG_GENERAL, SG_ALERT, "TODO: Check for GPU vendor here, and dynamically allocate correct class");
     + }
     + }

Navigation menu