---
name: "ACE_Function_Timeprobe"
section: "3"
platform: "linux"
package: "libace-doc"
version: "5.0.7-4"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/ACE_Function_Timeprobe"
---

# ACE\_Function\_Timeprobe(3)

Auto pointer like time probes. It will record event on construction and event + 1 on destruction.

## NAME

ACE\_Function\_Timeprobe -  Auto pointer like time probes. It will record event on construction and event + 1 on destruction.

## SYNOPSIS

```
template<class Timeprobe>
class ACE_Function_Timeprobe
{
  public:
    ACE_Function_Timeprobe (Timeprobe &timeprobe, u_long event);
    ~ACE_Function_Timeprobe (void);
  protected:
    Timeprobe &timeprobe_;
    u_long event_;
};
```

## PUBLIC MEMBERS

```
ACE_Function_Timeprobe (Timeprobe &timeprobe, u_long event);
```

Constructor.

```
~ACE_Function_Timeprobe (void);
```

Destructor.

## PROTECTED MEMBERS

```
Timeprobe &timeprobe_;
```

Reference to timeprobe.

```
u_long event_;
```

Event.
