Content-type: text/html Manpage of mvmlib

mvmlib

Section: C Library Functions (3)
Updated: 23 August 1999
Index Return to Main Contents
 

NAME

mvm_page, mvm_age_and_order, mvm_init, mvm_destroy, mvm_reset_pager, mvm_create_named_swapfile, mvm_create_swapfile, mvm_delete_swapfile, mvm_initialised, mvm_change_cache_size, mvm_stat, mvm_show_mvm_objects  

SYNOPSIS

int mvm_page
(
       int v_page,

       mvm_type *mvm

);

int mvm_age_and_order(mvm_type *mvm);

void **mvm_init
(
       char *name,

       int initialised,

       int r_w_state,

       int sched_policy,

       int v_page_slots,

       int max_page_slots,

       int fd,

       long v_page_size,

       mvm_type *mvm

);

int mvm_destroy(mvm_type *mvm);

int mvm_reset_pager(mvm_type *mvm);

int mvm_create_named_swapfile
(
       char *swap_file_name,

       int pages,

       long page_size

);

int mvm_create_swapfile
(
       int swap_handle,

       int pages,

       long page_size

);

int mvm_delete_swapfile
(
       int swap_file_handle,

       char *swap_file_name

);

int mvm_initialised(mvm_type *mvm);

void mvm_change_cache_size
(
       int max_page_slots,

       mvm_type *mvm

);

int mvm_stat
(
       FILE *stream,

       mvm_type *mvm

);

void mvm_show_mvm_objects(FILE *stream);  

PARAMETERS

int v_page
Page to cache.
mvm_type *mvm        (mvm_page)
Meta virtual memory mapper.
char *name
Name of virtual memory.
int initialised
TRUE if swap initialised.
int r_w_state
Read write access state.
int sched_policy
Scheduling policy.
int v_page_slots
Pages in virtual memory.
int max_page_slots
Pages in physical memory.
int fd
Backing store descriptor.
long v_page_size
Page size in virtual memory.
mvm_type *mvm        (mvm_init)
Virtual memory structure.
char *swap_file_name
Not Documented.
int pages
Not Documented.
long page_size
Not Documented.
int swap_handle
Not Documented.
int swap_file_handle
Not Documented.
FILE *stream
Not Documented.
 

DESCRIPTION

 

mvm_page

Get a line from image file on disk - this is a modeified version of the algorithm used in the Alvey MMI-137 version of the cached stereomatcher code ...  

mvm_age_and_order

Routine to age the pages in the mapper structure and sort them into to age order starting with the least used [youngest] page ...  

mvm_init

Initialise an image cache ...  

mvm_destroy

Destroy meta virtual memory structure ...  

mvm_reset_pager

Reset image cache usage list pointer ...  

mvm_create_named_swapfile

Create an MVM swap file and return a handle to it ...  

mvm_create_swapfile

Create an MVM swapfile using an open file handle ...  

mvm_delete_swapfile

Delete MVM swapfile ...  

mvm_initialised

Mark MVM swapfile initialised ...  

mvm_change_cache_size

Set maximum (resident) cache for MVM object ...  

mvm_stat

Show MVM object statitics ...  

mvm_show_mvm_objects

Show MVM objects attached to current application ...


 

Index

NAME
SYNOPSIS
PARAMETERS
DESCRIPTION
mvm_page
mvm_age_and_order
mvm_init
mvm_destroy
mvm_reset_pager
mvm_create_named_swapfile
mvm_create_swapfile
mvm_delete_swapfile
mvm_initialised
mvm_change_cache_size
mvm_stat
mvm_show_mvm_objects

This document was created by man2html, using the manual pages.
Time: 16:36:10 GMT, January 10, 2008