?? appinstrument.tci
字號:
/*
* Copyright 2003 by Texas Instruments Incorporated.
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
* granted through contract.
*
*/
/* "@(#) ReferenceFrameworks 2.10.00.11 04-30-03 (swat-d15)" */
/*
* ======== appInstrument.tci ========
*
* DSP/BIOS objects for instrumentation and debugging: LOG and STS
*/
/*
* Create a LOG object logTrace
*/
var logTrace = tibios.LOG.create( "logTrace" );
logTrace.comment = "default LOG object for application messages";
logTrace.bufLen = 256;
/*
* Change the size of the LOG_system object to a value large enough
*/
tibios.LOG_system.bufLen = 256;
/*
* Set CLK timer interrupt to go off at default 1000us / interrupt.
* Set it higher if your algo disables interrupts for long periods. This
* ensures STS benchmarks with CLK_gethtime will return correct results.
*/
tibios.CLK.MICROSECONDS = 1000.0;
/*
* STS objects for use with UTL_sts* functions:
* stsTime0, stsTime1, ... -- a total of appStsTimeCount objects
*/
for (i = 0; i < APPSTSTIMECOUNT; i++) {
var stsTime = tibios.STS.create( "stsTime" + i );
stsTime.comment = "STS object " + i + " for execution time measurements";
stsTime.unitType = "High resolution time based";
stsTime.operation = "A * x";
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -