Add milliSecFromMidnight in Profile interface and Autotune LTag
This commit is contained in:
parent
a708c45bfb
commit
b1165caef3
|
@ -148,6 +148,10 @@ interface Profile {
|
||||||
return (passed / 1000).toInt()
|
return (passed / 1000).toInt()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun milliSecFromMidnight(date: Long): Long {
|
||||||
|
val passed = DateTime(date).millisOfDay.toLong()
|
||||||
|
return passed
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
* Units conversion
|
* Units conversion
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -5,6 +5,7 @@ enum class LTag(val tag: String, val defaultValue : Boolean = true, val requires
|
||||||
APS("APS"),
|
APS("APS"),
|
||||||
AUTOSENS("AUTOSENS", defaultValue = false),
|
AUTOSENS("AUTOSENS", defaultValue = false),
|
||||||
AUTOMATION("AUTOMATION"),
|
AUTOMATION("AUTOMATION"),
|
||||||
|
AUTOTUNE("AUTOTUNE", defaultValue = false),
|
||||||
BGSOURCE("BGSOURCE"),
|
BGSOURCE("BGSOURCE"),
|
||||||
CONFIGBUILDER("CONFIGBUILDER"),
|
CONFIGBUILDER("CONFIGBUILDER"),
|
||||||
CONSTRAINTS("CONSTRAINTS"),
|
CONSTRAINTS("CONSTRAINTS"),
|
||||||
|
|
Loading…
Reference in a new issue