summaryrefslogtreecommitdiff
path: root/tools/ivyperf.c
diff options
context:
space:
mode:
authorVincent Peyruqueou2023-03-27 11:43:54 +0200
committerVincent Peyruqueou2023-03-27 11:43:54 +0200
commit5443d6828eaf5cbc7dc4613d9d75b4c192d17730 (patch)
tree7b6675df201d3afe1b2e26aaa4e67205ef888456 /tools/ivyperf.c
parent7c608bc1d5c126df839c699c5ae531828a00caa3 (diff)
downloadivy-c-5443d6828eaf5cbc7dc4613d9d75b4c192d17730.zip
ivy-c-5443d6828eaf5cbc7dc4613d9d75b4c192d17730.tar.gz
ivy-c-5443d6828eaf5cbc7dc4613d9d75b4c192d17730.tar.bz2
ivy-c-5443d6828eaf5cbc7dc4613d9d75b4c192d17730.tar.xz
Microsoft Visual Studio (2022) solution to test IVY (perf and test ready)
Diffstat (limited to 'tools/ivyperf.c')
-rw-r--r--tools/ivyperf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/ivyperf.c b/tools/ivyperf.c
index a7845f0..823f516 100644
--- a/tools/ivyperf.c
+++ b/tools/ivyperf.c
@@ -40,6 +40,11 @@ extern int optind;
#include "ivyloop.h"
#define MILLISEC 1000.0
+//const char* IVY_ADDR = "127.0.0.255";
+//const char* IVY_ADDR = "192.168.1.255";
+//const char* IVY_ADDR = "10.33.39.255";
+//const char* IVY_PORT = "2023";
+
const char *mymessages[] = { "IvyPerf", "ping", "pong" };
static double origin = 0;
int nbMsgReceive=0;
@@ -123,11 +128,14 @@ void binCB( IvyClientPtr app, void *user_data, int id, const char* regexp, IvyB
}
}
+
int main(int argc, char *argv[])
{
long time=200;
int c;
const char * bus = NULL;
+ //const char* bus = "192.168.1.255:2023";
+
while ((c = getopt(argc, argv, "b:")) != EOF)
switch (c) {
case 'b':