Skip to content

Commit

Permalink
Removed the BTE_COLLECTION_MMAP_LAZY_WRITE since the msync call is in…
Browse files Browse the repository at this point in the history
…side

the library...


git-svn-id: http://svn.daimi.au.dk/svn/tpie/trunk@844 669acd26-ddd2-4139-9e68-486997aa639d
  • Loading branch information
Octavian Procopiuc committed Jul 21, 2002
1 parent 869927e commit c85c6f0
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 42 deletions.
10 changes: 3 additions & 7 deletions tpie/apps/bkdtree/app_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Author: Darren Erik Vengroff <darrenv@eecs.umich.edu>
// Created: 10/6/94
//
// $Id: app_config.h,v 1.27 2002-07-21 18:42:51 tavi Exp $
// $Id: app_config.h,v 1.28 2002-07-21 19:43:05 tavi Exp $
//
#ifndef _APP_CONFIG_H
#define _APP_CONFIG_H
Expand Down Expand Up @@ -56,19 +56,15 @@ extern int random_seed;
// <><><><><><><><><><><><><><><><><><><><><><><><> //

#ifdef BTE_COLLECTION_IMP_MMAP
// Define write behavior.
// Allowed values:
// 0 (synchronous writes)
// 1 (asynchronous writes using MS_ASYNC - see msync(2)) [default]
// 2 (asynchronous bulk writes)
# define BTE_COLLECTION_MMAP_LAZY_WRITE 1

#endif

// <><><><><><><><><><><><><><><><><><><><><><><><> //
// <> BTE_COLLECTION_UFS configuration options <> //
// <><><><><><><><><><><><><><><><><><><><><><><><> //

#ifdef BTE_COLLECTION_IMP_UFS

#endif

// <><><><><><><><><><><><><><><><><><><><><><><><> //
Expand Down
10 changes: 3 additions & 7 deletions tpie/apps/convex_hull/app_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Author: Darren Erik Vengroff <darrenv@eecs.umich.edu>
// Created: 10/6/94
//
// $Id: app_config.h,v 1.27 2002-07-21 18:42:51 tavi Exp $
// $Id: app_config.h,v 1.28 2002-07-21 19:43:05 tavi Exp $
//
#ifndef _APP_CONFIG_H
#define _APP_CONFIG_H
Expand Down Expand Up @@ -56,19 +56,15 @@ extern int random_seed;
// <><><><><><><><><><><><><><><><><><><><><><><><> //

#ifdef BTE_COLLECTION_IMP_MMAP
// Define write behavior.
// Allowed values:
// 0 (synchronous writes)
// 1 (asynchronous writes using MS_ASYNC - see msync(2)) [default]
// 2 (asynchronous bulk writes)
# define BTE_COLLECTION_MMAP_LAZY_WRITE 1

#endif

// <><><><><><><><><><><><><><><><><><><><><><><><> //
// <> BTE_COLLECTION_UFS configuration options <> //
// <><><><><><><><><><><><><><><><><><><><><><><><> //

#ifdef BTE_COLLECTION_IMP_UFS

#endif

// <><><><><><><><><><><><><><><><><><><><><><><><> //
Expand Down
10 changes: 3 additions & 7 deletions tpie/apps/list_rank/app_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Author: Darren Erik Vengroff <darrenv@eecs.umich.edu>
// Created: 10/6/94
//
// $Id: app_config.h,v 1.27 2002-07-21 18:42:51 tavi Exp $
// $Id: app_config.h,v 1.28 2002-07-21 19:43:05 tavi Exp $
//
#ifndef _APP_CONFIG_H
#define _APP_CONFIG_H
Expand Down Expand Up @@ -56,19 +56,15 @@ extern int random_seed;
// <><><><><><><><><><><><><><><><><><><><><><><><> //

#ifdef BTE_COLLECTION_IMP_MMAP
// Define write behavior.
// Allowed values:
// 0 (synchronous writes)
// 1 (asynchronous writes using MS_ASYNC - see msync(2)) [default]
// 2 (asynchronous bulk writes)
# define BTE_COLLECTION_MMAP_LAZY_WRITE 1

#endif

// <><><><><><><><><><><><><><><><><><><><><><><><> //
// <> BTE_COLLECTION_UFS configuration options <> //
// <><><><><><><><><><><><><><><><><><><><><><><><> //

#ifdef BTE_COLLECTION_IMP_UFS

#endif

// <><><><><><><><><><><><><><><><><><><><><><><><> //
Expand Down
10 changes: 3 additions & 7 deletions tpie/apps/nas_benchmarks/app_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Author: Darren Erik Vengroff <darrenv@eecs.umich.edu>
// Created: 10/6/94
//
// $Id: app_config.h,v 1.27 2002-07-21 18:42:51 tavi Exp $
// $Id: app_config.h,v 1.28 2002-07-21 19:43:05 tavi Exp $
//
#ifndef _APP_CONFIG_H
#define _APP_CONFIG_H
Expand Down Expand Up @@ -56,19 +56,15 @@ extern int random_seed;
// <><><><><><><><><><><><><><><><><><><><><><><><> //

#ifdef BTE_COLLECTION_IMP_MMAP
// Define write behavior.
// Allowed values:
// 0 (synchronous writes)
// 1 (asynchronous writes using MS_ASYNC - see msync(2)) [default]
// 2 (asynchronous bulk writes)
# define BTE_COLLECTION_MMAP_LAZY_WRITE 1

#endif

// <><><><><><><><><><><><><><><><><><><><><><><><> //
// <> BTE_COLLECTION_UFS configuration options <> //
// <><><><><><><><><><><><><><><><><><><><><><><><> //

#ifdef BTE_COLLECTION_IMP_UFS

#endif

// <><><><><><><><><><><><><><><><><><><><><><><><> //
Expand Down
10 changes: 3 additions & 7 deletions tpie/apps/old/app_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Author: Darren Erik Vengroff <darrenv@eecs.umich.edu>
// Created: 10/6/94
//
// $Id: app_config.h,v 1.27 2002-07-21 18:42:51 tavi Exp $
// $Id: app_config.h,v 1.28 2002-07-21 19:43:05 tavi Exp $
//
#ifndef _APP_CONFIG_H
#define _APP_CONFIG_H
Expand Down Expand Up @@ -56,19 +56,15 @@ extern int random_seed;
// <><><><><><><><><><><><><><><><><><><><><><><><> //

#ifdef BTE_COLLECTION_IMP_MMAP
// Define write behavior.
// Allowed values:
// 0 (synchronous writes)
// 1 (asynchronous writes using MS_ASYNC - see msync(2)) [default]
// 2 (asynchronous bulk writes)
# define BTE_COLLECTION_MMAP_LAZY_WRITE 1

#endif

// <><><><><><><><><><><><><><><><><><><><><><><><> //
// <> BTE_COLLECTION_UFS configuration options <> //
// <><><><><><><><><><><><><><><><><><><><><><><><> //

#ifdef BTE_COLLECTION_IMP_UFS

#endif

// <><><><><><><><><><><><><><><><><><><><><><><><> //
Expand Down
10 changes: 3 additions & 7 deletions tpie/test/app_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Author: Darren Erik Vengroff <darrenv@eecs.umich.edu>
// Created: 10/6/94
//
// $Id: app_config.h,v 1.27 2002-07-21 18:42:51 tavi Exp $
// $Id: app_config.h,v 1.28 2002-07-21 19:43:05 tavi Exp $
//
#ifndef _APP_CONFIG_H
#define _APP_CONFIG_H
Expand Down Expand Up @@ -56,19 +56,15 @@ extern int random_seed;
// <><><><><><><><><><><><><><><><><><><><><><><><> //

#ifdef BTE_COLLECTION_IMP_MMAP
// Define write behavior.
// Allowed values:
// 0 (synchronous writes)
// 1 (asynchronous writes using MS_ASYNC - see msync(2)) [default]
// 2 (asynchronous bulk writes)
# define BTE_COLLECTION_MMAP_LAZY_WRITE 1

#endif

// <><><><><><><><><><><><><><><><><><><><><><><><> //
// <> BTE_COLLECTION_UFS configuration options <> //
// <><><><><><><><><><><><><><><><><><><><><><><><> //

#ifdef BTE_COLLECTION_IMP_UFS

#endif

// <><><><><><><><><><><><><><><><><><><><><><><><> //
Expand Down

0 comments on commit c85c6f0

Please sign in to comment.