PLASMA  2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
coreblas.c
Go to the documentation of this file.
1 
19 #define _GNU_SOURCE 1 /* or _BSD_SOURCE or _SVID_SOURCE */
20 #define _REENTRANT
21 
22 #include <stdlib.h>
23 #include <unistd.h>
24 #include <sys/syscall.h>
25 
26 #include <eztrace.h>
27 #include <ev_codes.h>
28 
29 #include "common.h"
30 
31 static void __coreblas_init (void) __attribute__ ((constructor));
32 static void
33 __coreblas_init (void)
34 {
35 #ifdef EZTRACE_AUTOSTART
36  eztrace_start ();
37 #endif
38 }
39 
40 static void __coreblas_conclude (void) __attribute__ ((destructor));
41 static void
42 __coreblas_conclude (void)
43 {
44  eztrace_stop ();
45 }