// Formulae to compute derived counters from raw counter values

function GpuTime()
{
    return GpuTimeMD;
}

function GpuCoreClocks()
{
    return GpuCoreClocksMD;
}

function AvgGpuCoreFrequencyMHz()
{
    return AvgGpuCoreFrequencyMHzMD;
}

function GpuBusy()
{
    return GpuBusyMD;
}

function VsThreads()
{
    return VsThreadsMD;
}

function HsThreads()
{
    return HsThreadsMD;
}

function DsThreads()
{
    return DsThreadsMD;
}

function GsThreads()
{
    return GsThreadsMD;
}

function PsThreads()
{
    return PsThreadsMD;
}

function CsThreads()
{
    return CsThreadsMD;
}

function EuActive()
{
    return EuActiveMD;
}

function EuStall()
{
    return EuStallMD;
}

function EuAvgIpcRate()
{
    return EuAvgIpcRateMD;
}

function EuFpuBothActive()
{
    return EuFpuBothActiveMD;
}

function Fpu0Active()
{
    return Fpu0ActiveMD;
}

function Fpu1Active()
{
    return Fpu1ActiveMD;
}

function EuSendActive()
{
    return EuSendActiveMD;
}

function EuThreadOccupancy()
{
    return EuThreadOccupancyMD;
}

function RasterizedPixels()
{
    return RasterizedPixelsMD;
}

function HiDepthTestFails()
{
    return HiDepthTestFailsMD;
}

function EarlyDepthTestFails()
{
    return EarlyDepthTestFailsMD;
}

function SamplesKilledInPs()
{
    return SamplesKilledInPsMD;
}

function PixelsFailingPostPsTests()
{
    return PixelsFailingPostPsTestsMD;
}

function SamplesWritten()
{
    return SamplesWrittenMD;
}

function SamplesBlended()
{
    return SamplesBlendedMD;
}

function SamplerTexels()
{
    return SamplerTexelsMD;
}

function SamplerTexelMisses()
{
    return SamplerTexelMissesMD;
}

function SlmBytesRead()
{
    return SlmBytesReadMD;
}

function SlmBytesWritten()
{
    return SlmBytesWrittenMD;
}

function ShaderMemoryAccesses()
{
    return ShaderMemoryAccessesMD;
}

function ShaderAtomics()
{
    return ShaderAtomicsMD;
}

function L3ShaderThroughput()
{
    return L3ShaderThroughputMD;
}

function ShaderBarriers()
{
    return ShaderBarriersMD;
}

function TypedBytesRead()
{
    return TypedBytesReadMD;
}

function TypedBytesWritten()
{
    return TypedBytesWrittenMD;
}

function UntypedBytesRead()
{
    return UntypedBytesReadMD;
}

function UntypedBytesWritten()
{
    return UntypedBytesWrittenMD;
}

function GtiReadThroughput()
{
    return GtiReadThroughputMD;
}

function GtiWriteThroughput()
{
    return GtiWriteThroughputMD;
}

