Library Version 11.2.5.3

DB_ENV->rep_get_clockskew()
Prev | Chapter 10. Replication Methods | Next

## DB_ENV->rep_get_clockskew()

    #include <db.h>

    int
    DB_ENV->rep_get_clockskew(DB_ENV *env,
        u_int32_t *fast_clockp, u_int32_t *slow_clockp);

The `DB_ENV->rep_get_clockskew()` method returns the current clock skew ratio values, as set by the DB_ENV->rep_set_clockskew() method.

The `DB_ENV->rep_get_clockskew()` method may be called at any time during the life of the application.

The `DB_ENV->rep_get_clockskew()` method returns a non-zero error value on failure and 0 on success.

### Parameters

#### fast_clockp

The fast_clockp parameter references memory into which the value for the fastest clock in the group of sites is copied.

#### slow_clockp

The slow_clockp parameter references memory into which the value for the slowest clock in the group of sites is copied.

### Class

DB_ENV

### See Also

Replication and Related Methods, DB_ENV->rep_set_clockskew()

Prev | Up | Next
DB_ENV->rep_elect() | Home | DB_ENV->rep_get_config()