Skip to content

Commit

Permalink
Update core_main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer committed Jan 17, 2024
1 parent 2604ef3 commit 6232e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark/coremark_port/core_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ char *mem_name[3] = { "Static", "Heap", "Stack" };
*/

__attribute__((used))
volatile float fCoremarkScore = 0.0f;
volatile double dfCoremarkScore = 0.0f;

#if MAIN_HAS_NOARGC
MAIN_RETURN_TYPE
Expand Down Expand Up @@ -412,7 +412,7 @@ for (i = 0; i < MULTITHREAD; i++)
double dfResult = (double)((double)1000000
* (double)default_num_contexts*results[0].iterations
/ (double)total_time);
fCoremarkScore = (float)dfResult;
dfCoremarkScore = dfResult;

ee_printf( "CoreMark 1.0 : %f / %s %s",
dfResult,
Expand Down

0 comments on commit 6232e88

Please sign in to comment.