Changeset 57db5f1 in rtems


Ignore:
Timestamp:
04/01/14 06:40:23 (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
3ccfd98b
Parents:
25a97835
git-author:
Sebastian Huber <sebastian.huber@…> (04/01/14 06:40:23)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/01/14 12:10:22)
Message:

smptests/smpthreadlife01: Avoid bad profiling stat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/smptests/smpthreadlife01/init.c

    r25a97835 r57db5f1  
    2222#include <rtems/counter.h>
    2323#include <rtems/libcsupport.h>
     24#include <rtems/score/profiling.h>
    2425#include <rtems/score/smpbarrier.h>
    2526#include <rtems/score/threadimpl.h>
     
    7677    _SMP_barrier_Wait(&ctx->barrier, &ctx->worker_barrier_state, CPU_COUNT);
    7778    rtems_counter_delay_nanoseconds(100000000);
     79
     80    /* Avoid bad profiling statisitics */
     81    _Profiling_Thread_dispatch_disable( _Per_CPU_Get(), 0 );
    7882  }
    7983}
     
    306310}
    307311
    308 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     312#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
    309313#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    310314
Note: See TracChangeset for help on using the changeset viewer.