Class TracyCapture

java.lang.Object
net.fabricmc.loom.task.prod.TracyCapture

public abstract class TracyCapture extends Object
  • Constructor Details

    • TracyCapture

      @Inject public TracyCapture()
  • Method Details

    • getTracyCapture

      @InputFile @PathSensitive(NONE) @Optional public abstract org.gradle.api.file.RegularFileProperty getTracyCapture()
      The path to the tracy-capture executable.
    • getMaxShutdownWaitSeconds

      @Input public abstract org.gradle.api.provider.Property<Integer> getMaxShutdownWaitSeconds()
      The maximum number of seconds to wait for tracy-capture to stop on its own before killing it.

      Defaults to 10 seconds.

    • getOutput

      @OutputFile @Optional public abstract org.gradle.api.file.RegularFileProperty getOutput()
      The path to the output file.
    • runWithTracy

      public void runWithTracy(TracyCapture.IORunnable runnable) throws IOException
      Throws:
      IOException