GC.allocatedInCurrentThread

ulong allocatedInCurrentThread() nothrow;

Returns the number of bytes allocated for the current thread since program start. It is the same as GC.stats().allocatedInCurrentThread, but faster.