Ignore:
Timestamp:
02/21/13 13:07:34 (12 years ago)
Author:
tbretz
Message:
Changed to v20r5.
Location:
trunk/FACT++/dim/src/benchmark
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/dim/src/benchmark/benchClient.cxx

    r11071 r14936  
    2323        }
    2424public :
    25         Service(char *name) : DimInfo(name,"--") {/*nReceived = 0;*/}
     25        Service(char *name) : DimInfo(name,(char *)"--") {/*nReceived = 0;*/}
    2626};
    2727
     
    3434        char *name, *format, *cltptr, *srvptr, clientName[128];
    3535
     36        if(argc){}
     37        if(argc){}
    3638        br.getServices("BENCH_SERVICE_*");
    3739
     
    4749        }
    4850        dic_get_id(clientName);
    49         if(cltptr = strchr(clientName,'@'))
     51        if((cltptr = strchr(clientName,'@')))
    5052                cltptr++;
    5153        sleep(5);
     
    5557
    5658        mps = NReceived/TEST_TIME;
    57         if(srvptr = strchr(ServerName,'@'))
     59        if((srvptr = strchr(ServerName,'@')))
    5860                srvptr++;
    5961        cout << "Benchmark from "<< srvptr << " to " << cltptr << " :" << endl;
  • trunk/FACT++/dim/src/benchmark/benchServer.cxx

    r11071 r14936  
    44#include <process.h>
    55#endif
     6#include <stdio.h>
    67
    78int main(int argc, char *argv[])
     
    1112        DimService **services;
    1213
     14        if(argc){}
    1315        sscanf(argv[1],"%d",&msgSize);
    1416        sscanf(argv[2],"%d",&nServices);
Note: See TracChangeset for help on using the changeset viewer.