Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Improve the doc of MSG_task_*_bounded
[simgrid.git] / include / simgrid / plugins / live_migration.h
1 /* Copyright (c) 2017. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef SIMGRID_PLUGINS_LIVE_MIGRATION_H_
8 #define SIMGRID_PLUGINS_LIVE_MIGRATION_H_
9
10 #include <simgrid/forward.h>
11 #include <xbt/base.h>
12
13 SG_BEGIN_DECL()
14
15 XBT_PUBLIC(void) sg_vm_live_migration_plugin_init();
16 XBT_PUBLIC(void) sg_vm_start_dirty_page_tracking(sg_vm_t vm);
17 XBT_PUBLIC(void) sg_vm_stop_dirty_page_tracking(sg_vm_t vm);
18 XBT_PUBLIC(double) sg_vm_lookup_computed_flops(sg_vm_t vm);
19 XBT_PUBLIC(void) sg_vm_migrate(sg_vm_t vm, sg_host_t dst_pm);
20
21 #define MSG_vm_live_migration_plugin_init() sg_vm_live_migration_plugin_init()
22 #define MSG_vm_migrate(vm, dst_pm) sg_vm_migrate(vm, dst_pm)
23
24 SG_END_DECL()
25
26 #endif