// 
// Decompiled by Procyon v0.6.0
// 

package io.sentry;

import org.jetbrains.annotations.Nullable;
import org.jetbrains.annotations.ApiStatus;

@ApiStatus.Internal
public final class PerformanceCollectionData
{
    @Nullable
    private Double cpuUsagePercentage;
    @Nullable
    private Long usedHeapMemory;
    @Nullable
    private Long usedNativeMemory;
    private final long nanoTimestamp;
    
    public PerformanceCollectionData(final long nanoTimestamp) {
        this.cpuUsagePercentage = null;
        this.usedHeapMemory = null;
        this.usedNativeMemory = null;
        this.nanoTimestamp = nanoTimestamp;
    }
    
    public void setCpuUsagePercentage(@Nullable final Double cpuUsagePercentage) {
        this.cpuUsagePercentage = cpuUsagePercentage;
    }
    
    @Nullable
    public Double getCpuUsagePercentage() {
        return this.cpuUsagePercentage;
    }
    
    public void setUsedHeapMemory(@Nullable final Long usedHeapMemory) {
        this.usedHeapMemory = usedHeapMemory;
    }
    
    @Nullable
    public Long getUsedHeapMemory() {
        return this.usedHeapMemory;
    }
    
    public void setUsedNativeMemory(@Nullable final Long usedNativeMemory) {
        this.usedNativeMemory = usedNativeMemory;
    }
    
    @Nullable
    public Long getUsedNativeMemory() {
        return this.usedNativeMemory;
    }
    
    public long getNanoTimestamp() {
        return this.nanoTimestamp;
    }
}
