Monitor/MonitorJsonRpc.cpp
// Method: resetstats - Resets memory and process statistics for a single plugin watched by the Monitor
// Return codes:
//  - ERROR_NONE: Success
Resets memory and process statistics for a single plugin watched by the Monitor
Return codes:
ERROR_NONE: Success
Resets memory and process statistics for a single plugin watched by the Monitor Return codes : ERROR_NONE : Success
uint32_t Monitor::endpoint_resetstats(const ResetstatsParamsData& params, InfoInfo& response)
    {
        const string& callsign = params.Callsign.Value();
        Core::JSON::ArrayType<InfoInfo> info;
        _monitor->Snapshot(callsign, &info);
        if (info.Length() == 1) {
            _monitor->Reset(callsign);
            response = info[0];
        }
        return Core::ERROR_NONE;
    }
uint32_t Monitor :: endpoint_resetstats ( const ResetstatsParamsData & params , InfoInfo & response ) { const string & callsign = params . Callsign . Value ( ) ; Core :: JSON :: ArrayType < InfoInfo > info ; _monitor -> Snapshot ( callsign , & info ) ; if ( info . Length ( ) == 1 ) { _monitor -> Reset ( callsign ) ; response = info [ 0 ] ; } return Core :: ERROR_NONE ; }
Method: resetstats - Resets memory and process statistics for a single plugin watched by the Monitor
Return codes:
 ERROR_NONE: Success
Method : resetstats - Resets memory and process statistics for a single plugin watched by the Monitor Return codes : ERROR_NONE : Success