Functions | Variables

IOBuffer.cc File Reference

A brief file description. More...

#include "P_EventSystem.h"
Include dependency graph for IOBuffer.cc:

Go to the source code of this file.

Functions

inkcoreapi ClassAllocator
< MIOBuffer
ioAllocator ("ioAllocator", DEFAULT_BUFFER_NUMBER)
inkcoreapi ClassAllocator
< IOBufferData
ioDataAllocator ("ioDataAllocator", DEFAULT_BUFFER_NUMBER)
inkcoreapi ClassAllocator
< IOBufferBlock
ioBlockAllocator ("ioBlockAllocator", DEFAULT_BUFFER_NUMBER)
void init_buffer_allocators ()

Variables

inkcoreapi Allocator ioBufAllocator [DEFAULT_BUFFER_SIZES]
int64_t default_large_iobuffer_size = DEFAULT_LARGE_BUFFER_SIZE
int64_t default_small_iobuffer_size = DEFAULT_SMALL_BUFFER_SIZE
int64_t max_iobuffer_size = DEFAULT_BUFFER_SIZES - 1

Detailed Description

A brief file description.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file IOBuffer.cc.


Function Documentation

void init_buffer_allocators (  ) 
inkcoreapi ClassAllocator<MIOBuffer> ioAllocator ( "ioAllocator"  ,
DEFAULT_BUFFER_NUMBER   
)
inkcoreapi ClassAllocator<IOBufferBlock> ioBlockAllocator ( "ioBlockAllocator"  ,
DEFAULT_BUFFER_NUMBER   
)
inkcoreapi ClassAllocator<IOBufferData> ioDataAllocator ( "ioDataAllocator"  ,
DEFAULT_BUFFER_NUMBER   
)

Variable Documentation

int64_t default_large_iobuffer_size = DEFAULT_LARGE_BUFFER_SIZE
int64_t default_small_iobuffer_size = DEFAULT_SMALL_BUFFER_SIZE

Definition at line 38 of file IOBuffer.cc.

Referenced by ink_event_system_init(), and main().

inkcoreapi Allocator ioBufAllocator[DEFAULT_BUFFER_SIZES]
int64_t max_iobuffer_size = DEFAULT_BUFFER_SIZES - 1