Home | History | Annotate | Download | only in cover

Lines Matching refs:Profile

7 // It is a copy of golang.org/x/tools/cover/profile.go.
22 // Profile represents the profiling data for a specific file.
23 type Profile struct {
36 type byFileName []*Profile
42 // ParseProfiles parses profile data in the specified file and returns a
43 // Profile for each source file described therein.
44 func ParseProfiles(fileName string) ([]*Profile, error) {
51 files := make(map[string]*Profile)
76 p = &Profile{
121 profiles := make([]*Profile, 0, len(files))
122 for _, profile := range files {
123 profiles = append(profiles, profile)
149 // block as reported by the coverage profile. In HTML mode, it will correspond to
154 Count int // Event count from the cover profile.
158 // Boundaries returns a Profile as a set of Boundary objects within the provided src.
159 func (p *Profile) Boundaries(src []byte) (boundaries []Boundary) {
177 b.Norm = 0.8 // Profile is in"set" mode; we want a heat map. Use cov8 in the CSS.