Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion how to measure time in TI C64xx DSP?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nils  
View profile  
 More options Aug 14 2009, 4:06 am
Newsgroups: comp.dsp
From: Nils <n.pipenbri...@cubic.org>
Date: Fri, 14 Aug 2009 10:06:23 +0200
Local: Fri, Aug 14 2009 4:06 am
Subject: Re: how to measure time in TI C64xx DSP?

whz...@gmail.com wrote:
> Hi all,

> Which function in TI C64xx DSP can return the current system time/
> tick?  I am measure the processing time of an algorithm, so I need to
> get the time before and after the function.  I searched the TI
> documents, but didn't find any.#

If you want to time a C64x+ you can use the free running 64 bit time
stamp counter register. It increases each clock cycle.

To access it from a C program you can use something like this:

#include "c6x.h"
inline long long read_time(void)
{
  return _itoll (TSCH, TSCL);

}

Cheers,
  Nils

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.