/*********************************************************************************

Copyright(c) 2006 Analog Devices, Inc. All Rights Reserved.

This software is proprietary and confidential.  By using this software you agree
to the terms of the associated Analog Devices License Agreement.

File:    SDK-cycle_count.h 

Description:  Function Prototype to go with SDK-cycle_count.asm

*********************************************************************************/


// This function computes cycle count of the function pointed by an external variable f1.
// The calling function sets up the "f1" pointer, so it points to the function to be 
// measured.  The number of arguments passed to the measured function will vary, depending
// on which function is being measured.  Therefore the argument list for this function 
// will also vary.  But most of the functions that currently use this function are in the 
// BlackfinSDK image processing collection.  There are usually five arguments to those functions 
// and they are usually of the same type, but occasionally there are six, four or three.  
// When there are fewer arguments, dummy arguments of zero will be passed, to allow the function 
// prototype to be defined with six arguments.


extern int Compute_Cycle_Count(unsigned char[], int, int, int*, unsigned char[], int);
