Documentation ¶
Index ¶
- func DisableStats()
- func EnableStats()
- type CollectionStats
- type CollectionStatsHandler
- func (t *CollectionStatsHandler) AddTotalAcceptedFragElementsNum(delta uint64)
- func (t *CollectionStatsHandler) AddTotalAllocatedFragElementsNum(delta uint64)
- func (t *CollectionStatsHandler) AddTotalCollectedFragsNum(delta uint64)
- func (t *CollectionStatsHandler) AddTotalErrCollectNum(delta uint64, errType def.ErrResultType)
- func (t *CollectionStatsHandler) AddTotalErrReassemblyNum(delta uint64, errType def.ErrResultType)
- func (t *CollectionStatsHandler) AddTotalFailedDistributionMemberNum(delta uint64)
- func (t *CollectionStatsHandler) AddTotalForceReleasedFullPacketsNum(delta uint64)
- func (t *CollectionStatsHandler) AddTotalNewFragElementGroupsNum(delta uint64)
- func (t *CollectionStatsHandler) AddTotalNewFragElementsNum(delta uint64)
- func (t *CollectionStatsHandler) AddTotalNotFoundHandlersNum(delta uint64)
- func (t *CollectionStatsHandler) AddTotalPoppedFullPacketsNum(delta uint64)
- func (t *CollectionStatsHandler) AddTotalReassemblyFragsNum(delta uint64)
- func (t *CollectionStatsHandler) AddTotalReassemblyFullPacketsNum(delta uint64)
- func (t *CollectionStatsHandler) AddTotalReassemblyNoDelFragGroupsNum(delta uint64)
- func (t *CollectionStatsHandler) AddTotalRecycledFragElementsNum(delta uint64)
- func (t *CollectionStatsHandler) AddTotalReleasedExpiredFragElementGroupsNum(delta uint64)
- func (t *CollectionStatsHandler) AddTotalReleasedFragElementGroupsNum(delta uint64)
- func (t *CollectionStatsHandler) AddTotalReleasedFullPacketsNum(delta uint64)
- func (t *CollectionStatsHandler) IncTotalFragMapReachedLenLimitNum()
- type DetectionStats
- type DetectionStatsHandler
- func (t *DetectionStatsHandler) AddErrHandlerFastDetectStats(delta uint64, errType def.ErrResultType)
- func (t *DetectionStatsHandler) AddTotalDetectedFragsNum(delta uint64)
- func (t *DetectionStatsHandler) AddTotalFailedDetectEthernetLayerNum(delta uint64)
- func (t *DetectionStatsHandler) AddTotalFailedDetectNetworkLayerNum(delta uint64)
- func (t *DetectionStatsHandler) AddTotalNoNetworkLayerHandlerErrNum(delta uint64)
- func (t *DetectionStatsHandler) AddTotalReceivedDetectPacketsNum(delta uint64)
- type ErrorStats
- type LayerPktErrStats
- type ManagerStats
- type ManagerStatsHandler
- type Stats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableStats ¶
func DisableStats()
func EnableStats ¶
func EnableStats()
Types ¶
type CollectionStats ¶
type CollectionStats struct { TotalFailedDistributionMemberNum uint64 `json:",omitempty"` TotalNewFragElementsNum uint64 `json:",omitempty"` TotalAllocatedFragElementsNum uint64 `json:",omitempty"` TotalRecycledFragElementsNum uint64 `json:",omitempty"` TotalAcceptedFragElementsNum uint64 `json:",omitempty"` TotalNotFoundHandlersNum uint64 `json:",omitempty"` TotalFragMapReachedLenLimitNum uint64 `json:",omitempty"` TotalNewFragElementGroupsNum uint64 `json:",omitempty"` TotalReleasedFragElementGroupsNum uint64 `json:",omitempty"` TotalReleasedExpiredFragElementGroupsNum uint64 `json:",omitempty"` ErrorHandlerCollectStats ErrorStats `json:",omitempty"` TotalCollectedFragsNum uint64 `json:",omitempty"` TotalReassemblyNoDelFragGroupsNum uint64 `json:",omitempty"` ErrHandlerReassemblyStats ErrorStats `json:",omitempty"` TotalReassemblyFragsNum uint64 `json:",omitempty"` TotalReassemblyFullPacketsNum uint64 `json:",omitempty"` TotalReleasedFullPacketsNum uint64 `json:",omitempty"` TotalForceReleasedFullPacketsNum uint64 `json:",omitempty"` TotalPoppedFullPacketsNum uint64 `json:",omitempty"` }
type CollectionStatsHandler ¶
type CollectionStatsHandler struct {
// contains filtered or unexported fields
}
func GetCollectionStatsHandler ¶
func GetCollectionStatsHandler() *CollectionStatsHandler
func (*CollectionStatsHandler) AddTotalAcceptedFragElementsNum ¶
func (t *CollectionStatsHandler) AddTotalAcceptedFragElementsNum(delta uint64)
func (*CollectionStatsHandler) AddTotalAllocatedFragElementsNum ¶
func (t *CollectionStatsHandler) AddTotalAllocatedFragElementsNum(delta uint64)
func (*CollectionStatsHandler) AddTotalCollectedFragsNum ¶ added in v1.0.9
func (t *CollectionStatsHandler) AddTotalCollectedFragsNum(delta uint64)
func (*CollectionStatsHandler) AddTotalErrCollectNum ¶
func (t *CollectionStatsHandler) AddTotalErrCollectNum(delta uint64, errType def.ErrResultType)
func (*CollectionStatsHandler) AddTotalErrReassemblyNum ¶
func (t *CollectionStatsHandler) AddTotalErrReassemblyNum(delta uint64, errType def.ErrResultType)
func (*CollectionStatsHandler) AddTotalFailedDistributionMemberNum ¶
func (t *CollectionStatsHandler) AddTotalFailedDistributionMemberNum(delta uint64)
func (*CollectionStatsHandler) AddTotalForceReleasedFullPacketsNum ¶
func (t *CollectionStatsHandler) AddTotalForceReleasedFullPacketsNum(delta uint64)
func (*CollectionStatsHandler) AddTotalNewFragElementGroupsNum ¶
func (t *CollectionStatsHandler) AddTotalNewFragElementGroupsNum(delta uint64)
func (*CollectionStatsHandler) AddTotalNewFragElementsNum ¶
func (t *CollectionStatsHandler) AddTotalNewFragElementsNum(delta uint64)
func (*CollectionStatsHandler) AddTotalNotFoundHandlersNum ¶
func (t *CollectionStatsHandler) AddTotalNotFoundHandlersNum(delta uint64)
func (*CollectionStatsHandler) AddTotalPoppedFullPacketsNum ¶
func (t *CollectionStatsHandler) AddTotalPoppedFullPacketsNum(delta uint64)
func (*CollectionStatsHandler) AddTotalReassemblyFragsNum ¶ added in v1.0.9
func (t *CollectionStatsHandler) AddTotalReassemblyFragsNum(delta uint64)
func (*CollectionStatsHandler) AddTotalReassemblyFullPacketsNum ¶ added in v1.0.9
func (t *CollectionStatsHandler) AddTotalReassemblyFullPacketsNum(delta uint64)
func (*CollectionStatsHandler) AddTotalReassemblyNoDelFragGroupsNum ¶
func (t *CollectionStatsHandler) AddTotalReassemblyNoDelFragGroupsNum(delta uint64)
func (*CollectionStatsHandler) AddTotalRecycledFragElementsNum ¶
func (t *CollectionStatsHandler) AddTotalRecycledFragElementsNum(delta uint64)
func (*CollectionStatsHandler) AddTotalReleasedExpiredFragElementGroupsNum ¶
func (t *CollectionStatsHandler) AddTotalReleasedExpiredFragElementGroupsNum(delta uint64)
func (*CollectionStatsHandler) AddTotalReleasedFragElementGroupsNum ¶
func (t *CollectionStatsHandler) AddTotalReleasedFragElementGroupsNum(delta uint64)
func (*CollectionStatsHandler) AddTotalReleasedFullPacketsNum ¶
func (t *CollectionStatsHandler) AddTotalReleasedFullPacketsNum(delta uint64)
func (*CollectionStatsHandler) IncTotalFragMapReachedLenLimitNum ¶ added in v1.0.6
func (t *CollectionStatsHandler) IncTotalFragMapReachedLenLimitNum()
type DetectionStats ¶
type DetectionStats struct { TotalReceivedDetectPacketsNum uint64 `json:",omitempty"` //TotalNewDetectInfoNum uint64 //TotalReleaseDetectInfoNum uint64 TotalFailedDetectEthernetLayerNum uint64 `json:",omitempty"` TotalFailedDetectNetworkLayerNum uint64 `json:",omitempty"` TotalNoNetworkLayerHandlerErrNum uint64 `json:",omitempty"` ErrHandlerFastDetectStats ErrorStats `json:",omitempty"` TotalDetectedFragsNum uint64 `json:",omitempty"` }
type DetectionStatsHandler ¶
type DetectionStatsHandler struct {
// contains filtered or unexported fields
}
func GetDetectionStatsHandler ¶
func GetDetectionStatsHandler() *DetectionStatsHandler
func (*DetectionStatsHandler) AddErrHandlerFastDetectStats ¶
func (t *DetectionStatsHandler) AddErrHandlerFastDetectStats(delta uint64, errType def.ErrResultType)
func (*DetectionStatsHandler) AddTotalDetectedFragsNum ¶ added in v1.0.9
func (t *DetectionStatsHandler) AddTotalDetectedFragsNum(delta uint64)
func (*DetectionStatsHandler) AddTotalFailedDetectEthernetLayerNum ¶
func (t *DetectionStatsHandler) AddTotalFailedDetectEthernetLayerNum(delta uint64)
func (*DetectionStatsHandler) AddTotalFailedDetectNetworkLayerNum ¶
func (t *DetectionStatsHandler) AddTotalFailedDetectNetworkLayerNum(delta uint64)
func (*DetectionStatsHandler) AddTotalNoNetworkLayerHandlerErrNum ¶
func (t *DetectionStatsHandler) AddTotalNoNetworkLayerHandlerErrNum(delta uint64)
func (*DetectionStatsHandler) AddTotalReceivedDetectPacketsNum ¶
func (t *DetectionStatsHandler) AddTotalReceivedDetectPacketsNum(delta uint64)
type ErrorStats ¶
type ErrorStats struct { TotalErrResultTypeNewPacketsNum uint64 `json:",omitempty"` TotalErrResultSerializeLayersNum uint64 `json:",omitempty"` TotalErrResultFullPacketBufAppendBytes uint64 `json:",omitempty"` TotalErrResultIPV4HdrLenInsufficientNum uint64 `json:",omitempty"` TotalErrResultIPV6NetworkLayerNilNum uint64 `json:",omitempty"` TotalErrResultIPV6HdrLenInsufficientNum uint64 `json:",omitempty"` TotalErrResultIPV6FragHdrLenInsufficientNum uint64 `json:",omitempty"` TotalErrResultUngroupedFragNum uint64 `json:",omitempty"` TotalUnknownErrNum uint64 `json:",omitempty"` }
func (*ErrorStats) AddTotalNum ¶
func (t *ErrorStats) AddTotalNum(delta uint64, errType def.ErrResultType)
type LayerPktErrStats ¶
type LayerPktErrStats struct { TotalNewPacketErrNum uint64 TotalSerializeLayersErrNum uint64 TotalFullPacketBufAppendBytesErrNum uint64 TotalIPV4HdrLenInsufficient uint64 TotalIPv6NetWorkerLayerNilNum uint64 TotalIPV6HdrLenInsufficientNum uint64 TotalIPV6FragHdrLenInsufficientNum uint64 TotalErrResultUngroupedFragNum uint64 TotalUnhandledErrNum uint64 }
func (*LayerPktErrStats) AddTotalNum ¶
func (t *LayerPktErrStats) AddTotalNum(delta uint64, errResultType def.ErrResultType) uint64
type ManagerStats ¶
type ManagerStatsHandler ¶
type ManagerStatsHandler struct {
// contains filtered or unexported fields
}
func GetManagerStatsHandler ¶
func GetManagerStatsHandler() *ManagerStatsHandler
func (*ManagerStatsHandler) AddTotalCrashedAsyncProcessNum ¶
func (t *ManagerStatsHandler) AddTotalCrashedAsyncProcessNum(delta uint64)
func (*ManagerStatsHandler) AddTotalFailedCallAsyncProcessNum ¶
func (t *ManagerStatsHandler) AddTotalFailedCallAsyncProcessNum(delta uint64)
type Stats ¶
type Stats struct { //Manager ManagerStats Detection DetectionStats Collection CollectionStats }
Click to show internal directories.
Click to hide internal directories.