GC.allocatedInCurrentThread

ulong allocatedInCurrentThread() static extern(C) extern(D) nothrow;

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