Logo Search packages:      
Sourcecode: jellyfish version File versions  Download package

Classes | Public Member Functions | Protected Member Functions | Private Types | Private Attributes

jellyfish::direct_sorted_dumper< storage_t, atomic_t > Class Template Reference

Inheritance diagram for jellyfish::direct_sorted_dumper< storage_t, atomic_t >:
Inheritance graph
Collaboration diagram for jellyfish::direct_sorted_dumper< storage_t, atomic_t >:
Collaboration graph

List of all members.


struct  thread_info_t

Public Member Functions

virtual void _dump ()
 define_error_class (Error)
 define_error_class (ErrorWriting)
 direct_sorted_dumper (uint_t _threads, const char *_file_prefix, size_t _buffer_size, uint_t _vlen, storage_t *_ary)
void dump ()
void dump_to_file (int i)
void exec (int nb_threads)
void exec_join (int nb_threads)
Time get_writing_time () const
void join ()
virtual void start (int i)
void update_stats ()

Protected Member Functions

void open_next_file (const char *prefix, int *index, std::ofstream &out)

Private Types

typedef storage_t::iterator iterator
typedef token_ring
< locks::pthread::cond
typedef compacted_hash::writer
< storage_t

Private Attributes

size_t buffer_size
uint64_t volatile distinct
int file_index
const char * file_prefix
uint_t key_len
uint_t klen
uint64_t volatile max_count
size_t nb_records
std::ofstream * out
size_t record_len
struct thread_info_tthread_info
uint_t threads
uint64_t volatile total
token_ring_t tr
uint64_t volatile unique
uint_t val_len
uint_t vlen

Detailed Description

template<typename storage_t, typename atomic_t>
class jellyfish::direct_sorted_dumper< storage_t, atomic_t >

Definition at line 23 of file direct_sorted_dumper.hpp.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index