parsetoolkit

package
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package parsetoolkit is a collection of parsing utils.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcPercentAndQuantity

func CalcPercentAndQuantity(frame *pprof.Frame, total int64)

func CalcPercentOfAggregator

func CalcPercentOfAggregator()

func FormatDuration

func FormatDuration(nanoseconds int64) string

func GetLabel

func GetLabel(smp *profile.Sample, key string) string

func GetNumLabel

func GetNumLabel(smp *profile.Sample, key string) (int64, bool)

func GetStringLabel

func GetStringLabel(smp *profile.Sample, key string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL