---
title: "FitDevice"
sidebar_label: "FitDevice"
description: "Kotlin binding reference: FitDevice."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[FitDevice](index.md)

# FitDevice

[common]\
data class [FitDevice](index.md)(val label: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), val totalBytes: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), val cores: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0)

One device to judge a model against: [label](label.md) as the `devices` listing prints it (`CPU:0`, `Vulkan:1`), or any name the caller chooses for a device that is not this machine (a phone, or the memory left for one step of a pipeline after the earlier steps took theirs); [totalBytes](totalBytes.md) its memory; [cores](cores.md) the CPU cores it decodes with (0 = unknown, no many-cores bonus in the speed estimate).

## Constructors

| | |
|---|---|
| [FitDevice](FitDevice.md) | [common]<br>constructor(label: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), totalBytes: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), cores: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0) |

## Properties

| Name | Summary |
|---|---|
| [cores](cores.md) | [common]<br>val [cores](cores.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0 |
| [label](label.md) | [common]<br>val [label](label.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [totalBytes](totalBytes.md) | [common]<br>val [totalBytes](totalBytes.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) |