~ubuntu-branches/ubuntu/wily/parrot/wily-proposed

« back to all changes in this revision

Viewing changes to include/parrot/runcore_profiling.h

  • Committer: Package Import Robot
  • Author(s): Dominique Dumont
  • Date: 2014-04-26 08:41:44 UTC
  • mfrom: (1.1.20)
  • Revision ID: package-import@ubuntu.com-20140426084144-ycocevtjth7nij5s
Tags: 6.3.0-1
ImportedĀ UpstreamĀ versionĀ 6.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    PPROF_LINE_END_OF_RUNLOOP
39
39
} Parrot_profiling_line;
40
40
 
41
 
typedef void (*profiling_store_fn)  (PARROT_INTERP, ARGIN(Parrot_profiling_runcore_t*), ARGIN(PPROF_DATA*), ARGIN_NULLOK(Parrot_profiling_line));
 
41
typedef void (*profiling_store_fn)  (PARROT_INTERP, ARGIN(Parrot_profiling_runcore_t*),
 
42
                                        ARGIN(PPROF_DATA*), ARGIN_NULLOK(Parrot_profiling_line));
42
43
typedef void (*profiling_init_fn)   (PARROT_INTERP, ARGIN(Parrot_profiling_runcore_t*));
43
44
typedef void (*profiling_destroy_fn)(PARROT_INTERP, ARGIN(Parrot_profiling_runcore_t*));
44
45
 
45
 
#define RUNCORE_init(i, r)        ((r)->output.init    ? (r)->output.init((i), (r))            : (void)NULL)
46
 
#define RUNCORE_store(i, r, d, l) ((r)->output.store   ? (r)->output.store((i), (r), (d), (l)) : (void)NULL)
47
 
#define RUNCORE_destroy(i, r)     ((r)->output.destroy ? (r)->output.destroy((i), (r))         : (void)NULL)
 
46
#define RUNCORE_init(i, r) \
 
47
    ((r)->output.init    ? (r)->output.init((i), (r))            : (void)NULL)
 
48
#define RUNCORE_store(i, r, d, l) \
 
49
    ((r)->output.store   ? (r)->output.store((i), (r), (d), (l)) : (void)NULL)
 
50
#define RUNCORE_destroy(i, r) \
 
51
    ((r)->output.destroy ? (r)->output.destroy((i), (r))         : (void)NULL)
48
52
 
49
53
typedef enum Parrot_profiling_datatype {
50
54