Electronic Components Datasheet Search
  English  ▼

X  

TMS320C6000 Datasheet(PDF) 89 Page - Texas Instruments

Part # TMS320C6000
Description  Code Composer Studio Tutorial
PDF  126 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TI [Texas Instruments]
Direct Link  http://www.ti.com
Logo TI - Texas Instruments

TMS320C6000 Datasheet(HTML) 89 Page - Texas Instruments

Back Button TMS320C6000 Datasheet HTML 85Page - Texas Instruments TMS320C6000 Datasheet HTML 86Page - Texas Instruments TMS320C6000 Datasheet HTML 87Page - Texas Instruments TMS320C6000 Datasheet HTML 88Page - Texas Instruments TMS320C6000 Datasheet HTML 89Page - Texas Instruments TMS320C6000 Datasheet HTML 90Page - Texas Instruments TMS320C6000 Datasheet HTML 91Page - Texas Instruments TMS320C6000 Datasheet HTML 92Page - Texas Instruments TMS320C6000 Datasheet HTML 93Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 89 / 126 page
background image
Viewing Explicit Instrumentation
Debugging Program Behavior
5-19
9) Multiply the Max value for processingLoad_STS by 4.
Because you used the CLK_gethtime function to benchmark the
processing load, the statistics for processingLoad_STS are measured in
on-chip timer counter increments. SWI statistics are measured in
instruction cycles. On TMS320C6000 DSPs, the high-resolution time is
incremented every 4 instruction cycles. Therefore, to convert the
processingLoad_STS units to instruction cycles, you multiply by 4.
10) Subtract the resulting processingLoad_STS Max value in instruction
cycles from the processing_SWI Max value. The result should be about
3420
11) instructions. (The actual numbers shown may vary, especially if you are
using a non-generic development board.) These instructions are
performed within the processing function, but not between the calls to
STS_set and STS_delta, as shown below.
For example, if the load is 10, the processingLoad_STS Max is about
2604 and the processing_SWI Max is about 13832. To calculate the
instruction cycles performed within the processing function but outside
the calls to STS_set and STS_delta, the equation is:
13832 - (2604 * 4) = 3416
12) Choose GEL
→Application Control→Load. (If you have closed and
restarted Code Composer Studio, you must reload the GEL file.)
13) Change the Load and click Execute.
14) Notice that while both Max values increase, the difference between the
two Max values (after you multiply the processingLoad_STS Max by 4)
stays the same.
/*
======== processing ======== */
Int processing(Int *input, Int *output)
{
Int size = BUFSIZE;
while(size--){
*output++ = *input++ * gain;
}
/* enable instrumentation if TRC_USER0 is set */
if (TRC_query(TRC_USER0) == 0) {
STS_set(&processingLoad_STS, CLK_gethtime());
}
/* additional processing load */
load(processingLoad);
if (TRC_query(TRC_USER0) == 0) {
STS_delta(&processingLoad_STS, CLK_gethtime());
}
return(TRUE);
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com