Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: Big DSP-Load when using System-Analyzer

$
0
0

Hi Janet,

here is the configuration of System Analyzer:

 var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');
    var LoggerSM = xdc.useModule('ti.uia.runtime.LoggerSM');

    // Setup share-mem logger instance
    LoggerSM.sharedMemorySize = parseInt(environment["TRACE_LENGTH"],16);
    LoggerSM.numPartitions = 1;
    LoggerSM.partitionId = 0;
    LoggerSM.bufSection = ".loggerSM";
    LoggerSM.decode = false;
    LoggerSM.overwrite = true;
    LoggerSM.filterByLevel = false;
    LoggerSM.level1Mask = Diags.USER2;
    LoggerSM.level2Mask = 0;
    LoggerSM.level3Mask = 0;
    LoggerSM.level4Mask = (Diags.ALL_LOGGING & (~Diags.USER2));
    
    var loggerSM = LoggerSM.create();
    // use share-mem logger for all logger
    LoggingSetup.loadLogger = loggerSM;
    LoggingSetup.mainLogger = loggerSM;
    LoggingSetup.sysbiosLogger = loggerSM;
    
    LoggingSetup.mainLogging = true;
    LoggingSetup.loadLogging = true;
    LoggingSetup.sysbiosTaskLogging = true; //(default = true)
    LoggingSetup.sysbiosSwiLogging = true; //(default = false)
    LoggingSetup.sysbiosHwiLogging = true; //(default = false)
    LoggingSetup.disableMulticoreEventCorrelation = true; // true for single core DSP

The DSP load is very big only if we set LoggingSetup.sysbiosTaskLogging = true. If the flag is false

the load increases up to 2%.

Best regards,

Vitalij


Viewing all articles
Browse latest Browse all 25965


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>