> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Structure sysc::TimeStep

![][C++]
![][public]

**Definition**: `CommonTypes.hpp` (line 42)

Provide a struct for time step.

## Members

* [startTime](#structsysc_1_1TimeStep_1a115810021ec63279be6a82d5deb853c2)
* [TimeStep](#structsysc_1_1TimeStep_1a97ce4b55faaefbe7618a16b0363c092e)
* [TimeStep](#structsysc_1_1TimeStep_1aa92d1684145d3aa5ed39d171d2100299)
* [timeStepNumber](#structsysc_1_1TimeStep_1ab8fbdd8e8dd4384d385c3190b11a2ccf)
* [timeStepSize](#structsysc_1_1TimeStep_1a91d6e07b37c9c461ddfc8e85965321b2)

## Public attributes

### Variable timeStepNumber

![][public]

**Definition**: `CommonTypes.hpp` (line 43)

```cpp theme={null}
int sysc::TimeStep::timeStepNumber {0}
```

Time step number.

**Type**: int

### Variable startTime

![][public]

**Definition**: `CommonTypes.hpp` (line 44)

```cpp theme={null}
double sysc::TimeStep::startTime {0.0}
```

Time step start time.

**Type**: double

### Variable timeStepSize

![][public]

**Definition**: `CommonTypes.hpp` (line 45)

```cpp theme={null}
double sysc::TimeStep::timeStepSize {0.0}
```

Time step size (delta t).

**Type**: double

## Public functions

### Function TimeStep

![][public]

```cpp theme={null}
sysc::TimeStep::TimeStep()=default
```

Provide a default constructor for [TimeStep](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1TimeStep.md).

**Return type**:

### Function TimeStep

![][public]

```cpp theme={null}
sysc::TimeStep::TimeStep(int timeStepNumber, double startTime, double timeStepSize)
```

Provide a non-default constructor for [TimeStep](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/structsysc_1_1TimeStep.md).

**Parameters**:

* int **timeStepNumber**
* double **startTime**
* double **timeStepSize**

**Return type**:

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[C++]: https://img.shields.io/badge/language-C%2B%2B-blue "C++"

[private]: https://img.shields.io/badge/-private-red "private"

[const]: https://img.shields.io/badge/-const-lightblue "const"
