URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Show entire file |
Details |
Blame |
View Log
Rev 397 |
Rev 411 |
Line 180... |
Line 180... |
/***************/
|
/***************/
|
/* Start timer */
|
/* Start timer */
|
/***************/
|
/***************/
|
|
|
/* printf("%d", my_test2(Number_Of_Runs));*/
|
/* printf("%d", my_test2(Number_Of_Runs));*/
|
clear_timer_ticks(); // Clear tick timer counter
|
cpu_reset_timer_ticks(); // Clear tick timer counter
|
enable_timer(); // start OR1K tick timer
|
cpu_enable_timer(); // start OR1K tick timer
|
|
|
Begin_Time = get_timer_ticks();
|
Begin_Time = cpu_get_timer_ticks();
|
|
|
for (Run_Index = 1; Run_Index <= Number_Of_Runs; ++Run_Index)
|
for (Run_Index = 1; Run_Index <= Number_Of_Runs; ++Run_Index)
|
{
|
{
|
|
|
Proc_5();
|
Proc_5();
|
Line 271... |
Line 271... |
|
|
/**************/
|
/**************/
|
/* Stop timer */
|
/* Stop timer */
|
/**************/
|
/**************/
|
|
|
End_Time = get_timer_ticks();
|
End_Time = cpu_get_timer_ticks();
|
|
|
/* printf ("Execution ends\n");
|
/* printf ("Execution ends\n");
|
printf ("\n");
|
printf ("\n");
|
printf ("Final values of the variables used in the benchmark:\n");
|
printf ("Final values of the variables used in the benchmark:\n");
|
printf ("\n");
|
printf ("\n");
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.