As long as you have the latest installed version of gbx3, you should be
fine.
Try to run the benchmark
http://gambasdoc.org/help/doc/benchmark/polynom
<http://gambasdoc.org/help/doc/benchmark/polynom>and add a line 'Fast' on
the line after #!/usr/bin/env gbs3
If your time is < 10 seconds, the jit is running. If it is > 60 seconds, it
is not running.

If you run "gdb gbx3" in your project directory, write "b JIT_load" and
then "run", you can step through the code with "n" and enter. This is how
it looks for me:

Breakpoint 1, JIT_load () at gbx_jit.c:32
32      bool JIT_load(){
(gdb) n
36              if (loaded)
(gdb)
37                      return TRUE;
(gdb)
36              if (loaded)
(gdb)
40                      return FALSE;
(gdb)
39              if (!available)
(gdb)
42              TRY
(gdb)
44                      COMPONENT_load(COMPONENT_create("gb.jit"));
(gdb)
45                      LIBRARY_get_interface_by_name("gb.jit",
JIT_INTERFACE_VERSION, &JIT);
(gdb)
47                      JIT.Init((GB_JIT_INTERFACE *)(void *)GAMBAS_JitApi,
&EXEC_current, &SP, &TEMP, &RET, &GAMBAS_StopEvent,
(gdb)
50                      loaded = TRUE;
(gdb)
56              END_TRY

How does it look for you?

2012/5/24 Ru Vuott <vu...@yahoo.it>

>
> > Well now bg.jit.so exists !
> >
>
> I tried your code, but it doesn't work, and CPU is at 100%.
>
> Maybe, I must re-updated gambas3 from ./reconf etc ?
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to