MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ut0counter.h File Reference
#include "univ.i"
#include <string.h>
#include "os0thread.h"
Include dependency graph for ut0counter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  generic_indexer_t< Type, N >
struct  thread_id_indexer_t< Type, N >
struct  single_indexer_t< Type, N >
class  ib_counter_t< Type, N, Indexer >

Macros

#define CACHE_LINE_SIZE   64
#define IB_N_SLOTS   64

Detailed Description

Counter utility class

Created 2012/04/12 by Sunny Bains

Definition in file ut0counter.h.

Macro Definition Documentation

#define CACHE_LINE_SIZE   64

CPU cache line size

Definition at line 35 of file ut0counter.h.

#define IB_N_SLOTS   64

Default number of slots to use in ib_counter_t

Definition at line 38 of file ut0counter.h.