~ubuntu-branches/ubuntu/utopic/adios/utopic

« back to all changes in this revision

Viewing changes to src/buffer.h

  • Committer: Package Import Robot
  • Author(s): Alastair McKinstry
  • Date: 2013-12-09 15:21:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20131209152131-jtd4fpmdv3xnunnm
Tags: 1.5.0-1
* New upstream.
* Standards-Version: 3.9.5
* Include latest config.{sub,guess} 
* New watch file.
* Create libadios-bin for binaries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* 
2
 
 * ADIOS is freely available under the terms of the BSD license described
3
 
 * in the COPYING file in the top level directory of this source distribution.
4
 
 *
5
 
 * Copyright (c) 2008 - 2009.  UT-BATTELLE, LLC. All rights reserved.
6
 
 */
7
 
 
8
 
#ifndef ADIOS_BUFFER_H
9
 
#define ADIOS_BUFFER_H
10
 
 
11
 
#include "adios_types.h"
12
 
 
13
 
void      adios_buffer_size_requested_set (uint64_t v);
14
 
uint64_t  adios_buffer_size_requested_get (void);
15
 
void      adios_buffer_size_max_set (uint64_t v);
16
 
void      adios_buffer_size_remaining_set (uint64_t v);
17
 
void      adios_buffer_alloc_percentage_set (int v);
18
 
void      adios_buffer_alloc_when_set (enum ADIOS_BUFFER_ALLOC_WHEN v);
19
 
 
20
 
enum ADIOS_BUFFER_ALLOC_WHEN adios_buffer_alloc_when_get (void);
21
 
 
22
 
int adios_set_buffer_size (void);
23
 
uint64_t adios_method_buffer_alloc (uint64_t size);
24
 
int adios_method_buffer_free (uint64_t size);
25
 
 
26
 
#endif