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

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

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

Inheritance diagram for jellyfish::sorted_dumper< storage_t, atomic_t >:
Inheritance graph
[legend]
Collaboration diagram for jellyfish::sorted_dumper< storage_t, atomic_t >:
Collaboration graph
[legend]

List of all members.

Classes

struct  thread_info_t

Public Member Functions

virtual void _dump ()
 define_error_class (ErrorWriting)
 define_error_class (Error)
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 ()
void set_lower_count (uint64_t l)
void set_upper_count (uint64_t u)
 sorted_dumper (uint_t _threads, const char *_file_prefix, size_t _buffer_size, uint_t _vlen, storage_t *_ary)
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::overlap_iterator iterator
typedef heap_t< iterator > oheap_t
typedef token_ring
< locks::pthread::cond
token_ring_t
typedef compacted_hash::writer
< storage_t
writer_t

Private Attributes

storage_tary
size_t buffer_size
uint64_t volatile distinct
locks::pthread::mutex dump_mutex
int file_index
std::string file_prefix
uint_t key_len
uint_t klen
uint64_t lower_count
uint64_t volatile max_count
size_t nb_blocks
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
uint64_t upper_count
uint_t val_len
uint_t vlen

Detailed Description

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

Definition at line 26 of file sorted_dumper.hpp.


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

Generated by  Doxygen 1.6.0   Back to index