50 Commits (1084820a8afe2dee17cc0c9e77b690273967289e)
 

Author SHA1 Message Date
Georg Hopp 1084820a8a Inline simple accessor functions 10 years ago
Georg Hopp d8c92a6c11 Optimize memory size calculation 10 years ago
Georg Hopp f61b62755c Add a version function 10 years ago
Georg Hopp c4022ee039 Clean some useless whitespaces. 10 years ago
Georg Hopp 65652207aa omit pthread for now 11 years ago
Georg Hopp 23c3cd8d7a add some definitions to get this build under mingw 11 years ago
Georg Hopp 25979161c4 make math functions non inline because they are not used in this compile unit anyway 11 years ago
Georg Hopp 3f28478d32 creared some inline functions to access the meminfo structure. 11 years ago
Georg Hopp f67ee68066 add implementation of euclidean algorithm and compile with REENTRANT and pthread as this code is ment to be used within threads ... also there is no other thread awareness in it 11 years ago
Georg Hopp bec6f38730 I do not use trees anymore within the optimized memory management. I realized that I can calculate the index of an array by the size and use stacks of memory segments under each array element. This should be much faster. 11 years ago
Georg Hopp a92c8ac7e4 flush errorlog to stderr 11 years ago
Georg Hopp 16e092af3e try to make the memory management thread save by using a mutex upon tree accesses 11 years ago
Georg Hopp db5f9d43f7 ensure that a grandparent exists when it is involved in the ballance 11 years ago
Georg Hopp 0cecd080e5 ensure sec_factor is initialized 11 years ago
Georg Hopp b59958282a only set the missed output argument when it is not NULL 11 years ago
Georg Hopp c40a515eee Add a general purpose timer for different time granularities (seconds, milliseconds, microseconds and nanoseconds). 11 years ago
Georg Hopp c319edf54b remove the bsearch from interface selection. The amount of interfaces is very limited and there is no benefit compared to a direct iteration 11 years ago
Georg Hopp 23c33c5770 code structure 11 years ago
Georg Hopp 7f825c8af3 add print backtrace 11 years ago
Georg Hopp d28be8fbe8 fix PARENTCALL. We need the current class context to find the right parent. 11 years ago
Georg Hopp 7a1c975c3b fix inheritance of class variables 11 years ago
Georg Hopp 4b02cc239d more makros for classvars handling and add a new class SizedData. 11 years ago
Georg Hopp 8c0277e8d8 some minor fixes for the classvars stuff 12 years ago
Georg Hopp aed0c24a70 update copyright information 12 years ago
Georg Hopp 7d39785a79 added classvars. This again changes the interface for class declaration and definition. 12 years ago
Georg Hopp 6a5d16687b small fix... I have to mark the class structure as extern in the header file. 12 years ago
Georg Hopp c5c48bb320 modify static instance generation so that static instances of a class can now be created anywhere. But the class needs to be prepared for this after its definition (TR_INSTANCE_INIT). 12 years ago
Georg Hopp bbf4463fda create a static global logger as a default logger. For now this logs everything on stderr. 12 years ago
Georg Hopp 2534fb9e1d macro to cast one static instance to another class type. ATTENTION: no checks are done if the given class is really a parent of the instances class. 12 years ago
Georg Hopp 93b6d72069 make added logger code build correct unter trbase 12 years ago
Georg Hopp f56e8931dd add missing includes for logger 12 years ago
Georg Hopp 55629b9f3f fix macro 12 years ago
Georg Hopp f68ee33914 Modify TR_INSTANCE to get variable argument list for the initialization values, effectively remove the need for this ugly stray closing curly bracket. Add TR_objectInit function which allows to call the constructor on an already existing object. Remove not used variable argument list on _TR_CALL and fix corresponding makros. 12 years ago
Georg Hopp 988ce39e05 add my own strdup 12 years ago
Georg Hopp e20a52c8ad add a macro to make a retcall on the parent class 12 years ago
Georg Hopp b7d95b1abe add logger 12 years ago
Georg Hopp e32f54b297 some small fixes 12 years ago
Georg Hopp 08d22ebcd6 small fix in tree find 12 years ago
Georg Hopp 16c58ab973 change all the rebalance code to be macros 12 years ago
Georg Hopp 5fd8c71f34 omit not neccessary extra find 12 years ago
Georg Hopp a3b0c5811d Merge branch 'master' of hosted:/var/lib/git/trbase 12 years ago
Georg Hopp 69d9d73fa7 and now also utilize the TR_TREE_FIND macro. 12 years ago
Georg Hopp da3ff34168 use tree macros in memory management tree 12 years ago
Georg Hopp 25925687f7 another small optimization 12 years ago
Georg Hopp 5e1c8f73ae fix optimization for GNU memory management 12 years ago
Georg Hopp e905bad981 optimize allocation for GNU systems. That is allocate only blocks of a size malloc handles. 12 years ago
Georg Hopp 0c2907f929 fix wrongly named macro 12 years ago
Georg Hopp bab8ba347a make the thing build... 12 years ago
Georg Hopp 378eeef412 more documentation 12 years ago
Georg Hopp bc62624956 initial version derived from taskrambler 12 years ago