we could read the kernel data and make a json file
This commit is contained in:
@@ -19,7 +19,7 @@ private:
|
||||
int mFdRpmsg[2] = {-1, -1};
|
||||
RTSCoproHelper coproHelper;
|
||||
|
||||
std::map<std::string, RTSMonFrame*> rtsMonFrames;
|
||||
std::map<int, RTSMonFrame*> rtsMonFrames;
|
||||
|
||||
pthread_t monThread;
|
||||
|
||||
@@ -30,12 +30,13 @@ public:
|
||||
|
||||
//static RTSMonitoringTask& Instance();
|
||||
bool Init();
|
||||
bool CreateMonitoring(std::string id, int samplerate, int sampleperiod, int downtime, std::string status);
|
||||
bool CreateMonitoring(int id, std::string name, int samplerate, int sampleperiod, int downtime, std::string status);
|
||||
bool LoadFW();
|
||||
bool Start();
|
||||
bool Stop();
|
||||
|
||||
private:
|
||||
static void* Run(void *obj);
|
||||
bool Load();
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user