Commit 944d2fbf authored by Thomas Applencourt's avatar Thomas Applencourt
Browse files

Correct name to dispatcher

parent c8239003
#include "clinterval.h"
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
#include <string.h>
#include <stdbool.h>
#include <babeltrace2/babeltrace.h>
#include "uthash.h"
......@@ -214,7 +209,7 @@ bt_component_class_initialize_method_status clinterval_dispatch_initialize(
/* Will call clinterval_register_dispatcher */
/* For each dispacther automaticaly generated */
init_clinterval_dispatch(dispatch);
init_clinterval_dispatcher(dispatch);
/*
clinterval_dispatch -> clinterval_callbacks
......
#pragma once
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
#include <babeltrace2/babeltrace.h>
#include "uthash.h"
#include "utarray.h"
......@@ -21,7 +17,7 @@ struct clinterval_dispatch;
struct clinterval_callbacks;
// Implement by `clinterval_dispatchers.c`
extern void init_clinterval_dispatch(struct clinterval_dispatch *dispatch);
extern void init_clinterval_dispatcher(struct clinterval_dispatch *dispatch);
// `clinterval_dispatcher_t` is a alias to a function we return void and take those list as arguments
// `Dispacher` are a thin wrapper arround `callbacks`. They unpacks llng-parameters and give back ocl object
......
#include <iomanip>
#include <algorithm>
#include <iostream>
#include <unordered_map>
#include <tuple>
#include <climits>
#include "clinterval.h"
#include "clinterval_callbacks.hpp"
#include "xprof_utils.hpp"
......
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