Documentation
¶
Index ¶
- func HasSHA() bool
- func SetSHASupport(enabled bool)
- type SHAFFU
- func (s *SHAFFU) CanHandle(workload ffu.Workload) bool
- func (s *SHAFFU) EstimateCost(workload ffu.Workload) ffu.Cost
- func (s *SHAFFU) Execute(workload ffu.Workload) error
- func (s *SHAFFU) IsAvailable() bool
- func (s *SHAFFU) Metrics() ffu.Metrics
- func (s *SHAFFU) Name() string
- func (s *SHAFFU) Type() ffu.FFUType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SHAFFU ¶
type SHAFFU struct {
// contains filtered or unexported fields
}
SHAFFU implements the FFU interface for SHA operations
func (*SHAFFU) EstimateCost ¶
EstimateCost estimates the cost of executing the workload
func (*SHAFFU) IsAvailable ¶
IsAvailable returns true if SHA-NI is available
Click to show internal directories.
Click to hide internal directories.