Image noise/OCaml/Xlib: Difference between revisions

native-code command lines
(some explanations)
(native-code command lines)
Line 143:
print_float fps;
print_newline()</lang>
 
you can also compile this program to native-code with the following command:
:$ ocamlopt -I +Xlib Xlib.cmxa unix.cmxa noise_fps_x.ml -o noise_fps_x.opt
 
and then execute the result with:
:$ ./noise_fps_x.opt