Changeset 3256 in Sophya for trunk/Eval/Speed


Ignore:
Timestamp:
May 27, 2007, 10:18:57 PM (18 years ago)
Author:
ansari
Message:

petite modif pour permettre de compiler cpupower.c pour int et float avec -DT_Type=int/float/double, Reza 27/05/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Eval/Speed/cpupower.c

    r2970 r3256  
    1111/*  --- Petit programme d'estimation de la puissance CPU */
    1212/*  Compilation: csh> cc -O3 -o cpupower cpupower.c -lm  */
     13/* OU csh> cc -O -DT_Type=int cpupowerI  cpupower.c -lm  */
    1314/*  R. Ansari   -   LAL   Mai 2004                       */
    1415/*  ---------------------------------------------------  */
    1516
    1617/*  Choix de type d'operations  float double int ... */
    17 #define  T_Type  double
     18#ifndef T_Type
     19  #define  T_Type  double
     20#endif
    1821
    1922static int SZ=20000;                    /* Taille de tableau */
Note: See TracChangeset for help on using the changeset viewer.