Commit 539d35f0 authored by Per Cederqvist's avatar Per Cederqvist

(l2g_set_block_size): New function.

parent 40c68b13
......@@ -10,6 +10,11 @@
#include "kom-types.h"
/* Set the block size. This function must be called exactly once
before any other function declared in this file is called. Once
the block size has been set it cannot be changed. */
void l2g_set_block_size(int sz);
/* Contstructor. Take raw memory and create an empty
Local_to_global mapping. */
void l2g_init(Local_to_global *l2g);
......@@ -63,7 +68,8 @@ void l2g_dump(FILE *file, const Local_to_global *l2g);
/* Write an external representation of the mapping to ``file''. */
void l2g_write(FILE *file, const Local_to_global *l2g);
/* Initialize the mapping from the representation found in ``file''. */
/* Initialize the mapping from the representation found in ``file''.
``l2g'' must already be constructed. */
Success l2g_read(FILE *file, Local_to_global *l2g);
/* Dump global usage statistics to ``file''. */
......
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