Commit c57a5170 authored by Maxime Perrotin's avatar Maxime Perrotin

Poll GUI every 10 ms instead of 40 ms

parent e0a2fe6f
...@@ -24,8 +24,9 @@ ifeq ($(UNAME), Linux) ...@@ -24,8 +24,9 @@ ifeq ($(UNAME), Linux)
fi ; \ fi ; \
fi fi
endif endif
# Extraflag: set --target=x86_64-linux on 64 bits platforms
ADA_PROJECT_PATH=`ocarina-config --prefix`/lib/gnat:$$ADA_PROJECT_PATH \ ADA_PROJECT_PATH=`ocarina-config --prefix`/lib/gnat:$$ADA_PROJECT_PATH \
$(gnatpath)gprbuild -x -g $(exec) -p -P buildsupport.gpr -XBUILD="debug" $(gnatpath)gprbuild -x -g $(exec) -p -P buildsupport.gpr -XBUILD="debug" ${EXTRAFLAG}
install: install:
$(MAKE) $(MAKE)
......
/* Buildsupport is (c) 2008-2015 European Space Agency /* Buildsupport is (c) 2008-2017 European Space Agency
* contact: maxime.perrotin@esa.int * contact: maxime.perrotin@esa.int
* License is LGPL, check LICENSE file */ * License is LGPL, check LICENSE file */
/* build_gui_glue.c /* build_gui_glue.c
this program generates the code to interface a GUI with the assert virtual machine this program generates the code to interface a GUI with a TASTE binary
author: cyril colombo/Vega for ESA (this guy is a genuine mercenaire...)(but the best one) author: Cyril Colombo/ESA (this guy is a genuine mercenaire...)(but the best one)
updated 20/04/2009 to disable in case "-onlycv" flag is set
*/ */
#define ID "$Id: build_gui_glue.c 437 2010-01-06 09:19:17Z maxime1008 $"
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -28,14 +25,13 @@ ...@@ -28,14 +25,13 @@
*/ */
#define C_MAX_NUMBER_MESSAGES 5 #define C_MAX_NUMBER_MESSAGES 5
/* Constant defining the maximen number of character in a line of a source file */ /* Constant defining the maximum number of characters in a line of a source file */
#define C_MAX_LINE_SIZE 256 #define C_MAX_LINE_SIZE 256
/*Constant defining the maximum number of characters of a file name */ /* Constant defining the maximum number of characters of a file name */
#define C_MAX_FILE_NAME_SIZE 80 #define C_MAX_FILE_NAME_SIZE 80
/* /*
* Internal variable definition * Internal variable definition
*/ */
...@@ -58,7 +54,7 @@ static FILE *code_id = NULL; ...@@ -58,7 +54,7 @@ static FILE *code_id = NULL;
/* /*
* Name of the cyclic function that polls the shared memory * Name of the cyclic function that polls the shared memory
* that will be build by this backend * that will be build by this backend
*/ */
static char *cyclic_name = NULL; static char *cyclic_name = NULL;
......
...@@ -678,8 +678,8 @@ void Preprocess_FV (FV *fv) ...@@ -678,8 +678,8 @@ void Preprocess_FV (FV *fv)
interface->direction=PI; interface->direction=PI;
interface->synchronism=asynch; interface->synchronism=asynch;
interface->rcm=cyclic; interface->rcm=cyclic;
/* Poll GUI queue every 40 ms */ /* Poll GUI queue every 10 ms */
interface->period = 40; interface->period = 10;
interface->parent_fv = fv; interface->parent_fv = fv;
interface->wcet_high = 1; interface->wcet_high = 1;
interface->wcet_low = 1; interface->wcet_low = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment